void ReleaseDesignerOutlets() { if (DeleteButton != null) { DeleteButton.Dispose(); DeleteButton = null; } if (DoneSwich != null) { DoneSwich.Dispose(); DoneSwich = null; } if (ffff != null) { ffff.Dispose(); ffff = null; } if (NameField != null) { NameField.Dispose(); NameField = null; } if (ordername != null) { ordername.Dispose(); ordername = null; } if (OrderNamePicker != null) { OrderNamePicker.Dispose(); OrderNamePicker = null; } if (OrderTableView != null) { OrderTableView.Dispose(); OrderTableView = null; } if (SaveButton != null) { SaveButton.Dispose(); SaveButton = null; } }
void ReleaseDesignerOutlets() { if (DeleteButton != null) { DeleteButton.Dispose(); DeleteButton = null; } if (DensityField != null) { DensityField.Dispose(); DensityField = null; } if (DoneSwich != null) { DoneSwich.Dispose(); DoneSwich = null; } if (FlipNOField != null) { FlipNOField.Dispose(); FlipNOField = null; } if (fuelViewCell != null) { fuelViewCell.Dispose(); fuelViewCell = null; } if (KilosField != null) { KilosField.Dispose(); KilosField = null; } if (LiterField != null) { LiterField.Dispose(); LiterField = null; } if (OrderNamePicker != null) { OrderNamePicker.Dispose(); OrderNamePicker = null; } if (OrderTableView != null) { OrderTableView.Dispose(); OrderTableView = null; } if (SaveButton != null) { SaveButton.Dispose(); SaveButton = null; } }