void ReleaseDesignerOutlets() { if (clrButton != null) { clrButton.Dispose(); clrButton = null; } if (CodeLabel != null) { CodeLabel.Dispose(); CodeLabel = null; } if (eightButton != null) { eightButton.Dispose(); eightButton = null; } if (fiveButton != null) { fiveButton.Dispose(); fiveButton = null; } if (fourButton != null) { fourButton.Dispose(); fourButton = null; } if (LoginButton != null) { LoginButton.Dispose(); LoginButton = null; } if (MainView != null) { MainView.Dispose(); MainView = null; } if (nineButton != null) { nineButton.Dispose(); nineButton = null; } if (oneButton != null) { oneButton.Dispose(); oneButton = null; } if (RoleButton != null) { RoleButton.Dispose(); RoleButton = null; } if (RolePickerView != null) { RolePickerView.Dispose(); RolePickerView = null; } if (sevenButton != null) { sevenButton.Dispose(); sevenButton = null; } if (sixButton != null) { sixButton.Dispose(); sixButton = null; } if (threeButton != null) { threeButton.Dispose(); threeButton = null; } if (twoButton != null) { twoButton.Dispose(); twoButton = null; } if (zeroButton != null) { zeroButton.Dispose(); zeroButton = null; } }
void ReleaseDesignerOutlets() { if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (CodeLabel != null) { CodeLabel.Dispose(); CodeLabel = null; } if (EightButton != null) { EightButton.Dispose(); EightButton = null; } if (FiveButton != null) { FiveButton.Dispose(); FiveButton = null; } if (FourButton != null) { FourButton.Dispose(); FourButton = null; } if (LoginButton != null) { LoginButton.Dispose(); LoginButton = null; } if (LoginFrameView != null) { LoginFrameView.Dispose(); LoginFrameView = null; } if (LoginTitleLabel != null) { LoginTitleLabel.Dispose(); LoginTitleLabel = null; } if (NineButton != null) { NineButton.Dispose(); NineButton = null; } if (OneButton != null) { OneButton.Dispose(); OneButton = null; } if (RoleButton != null) { RoleButton.Dispose(); RoleButton = null; } if (RolePickerView != null) { RolePickerView.Dispose(); RolePickerView = null; } if (SevenButton != null) { SevenButton.Dispose(); SevenButton = null; } if (SixButton != null) { SixButton.Dispose(); SixButton = null; } if (ThreeButton != null) { ThreeButton.Dispose(); ThreeButton = null; } if (TwoButton != null) { TwoButton.Dispose(); TwoButton = null; } if (ZeroButton != null) { ZeroButton.Dispose(); ZeroButton = null; } }