void ReleaseDesignerOutlets() { if (ApplyButton != null) { ApplyButton.Dispose(); ApplyButton = null; } if (Backbutton != null) { Backbutton.Dispose(); Backbutton = null; } if (DeleteButton != null) { DeleteButton.Dispose(); DeleteButton = null; } if (StyleName != null) { StyleName.Dispose(); StyleName = null; } if (TypeDropdown != null) { TypeDropdown.Dispose(); TypeDropdown = null; } }
void ReleaseDesignerOutlets() { if (Backbutton != null) { Backbutton.Dispose(); Backbutton = null; } if (GonderButton != null) { GonderButton.Dispose(); GonderButton = null; } if (Headerview != null) { Headerview.Dispose(); Headerview = null; } if (MesajTextView != null) { MesajTextView.Dispose(); MesajTextView = null; } if (textField != null) { textField.Dispose(); textField = null; } }