void ReleaseDesignerOutlets () { if (btnCheckIn != null) { btnCheckIn.Dispose (); btnCheckIn = null; } if (tbxComment != null) { tbxComment.Dispose (); tbxComment = null; } } }