void ReleaseDesignerOutlets() { if (ActorsOutlet != null) { ActorsOutlet.Dispose(); ActorsOutlet = null; } if (ConcertOutlet != null) { ConcertOutlet.Dispose(); ConcertOutlet = null; } if (DeleteItemOutlet != null) { DeleteItemOutlet.Dispose(); DeleteItemOutlet = null; } if (DetailsColumn != null) { DetailsColumn.Dispose(); DetailsColumn = null; } if (ErrorOutlet != null) { ErrorOutlet.Dispose(); ErrorOutlet = null; } if (FilterNameOutlet != null) { FilterNameOutlet.Dispose(); FilterNameOutlet = null; } if (PerfomanceOutlet != null) { PerfomanceOutlet.Dispose(); PerfomanceOutlet = null; } if (PopularityOutlet != null) { PopularityOutlet.Dispose(); PopularityOutlet = null; } if (ProductColumn != null) { ProductColumn.Dispose(); ProductColumn = null; } if (ProductTable != null) { ProductTable.Dispose(); ProductTable = null; } if (SaveSuccessfullyOutlet != null) { SaveSuccessfullyOutlet.Dispose(); SaveSuccessfullyOutlet = null; } if (SeatsOutlet != null) { SeatsOutlet.Dispose(); SeatsOutlet = null; } if (TicketPriceOutlet != null) { TicketPriceOutlet.Dispose(); TicketPriceOutlet = null; } }
void ReleaseDesignerOutlets() { if (cmdImport != null) { cmdImport.Dispose(); cmdImport = null; } if (cmdEcho != null) { cmdEcho.Dispose(); cmdEcho = null; } if (Export2DBarCodeClicked != null) { Export2DBarCodeClicked.Dispose(); Export2DBarCodeClicked = null; } if (lblBankTotal != null) { lblBankTotal.Dispose(); lblBankTotal = null; } if (lblWorkspace != null) { lblWorkspace.Dispose(); lblWorkspace = null; } if (ProductTable != null) { ProductTable.Dispose(); ProductTable = null; } if (raidaLevel != null) { raidaLevel.Dispose(); raidaLevel = null; } if (rdbJpeg != null) { rdbJpeg.Dispose(); rdbJpeg = null; } if (rdbStack != null) { rdbStack.Dispose(); rdbStack = null; } if (txtFives != null) { txtFives.Dispose(); txtFives = null; } if (txtHundreds != null) { txtHundreds.Dispose(); txtHundreds = null; } if (txtLogs != null) { txtLogs.Dispose(); txtLogs = null; } if (txtOnes != null) { txtOnes.Dispose(); txtOnes = null; } if (txtQtrs != null) { txtQtrs.Dispose(); txtQtrs = null; } if (txtTag != null) { txtTag.Dispose(); txtTag = null; } if (txtTwoFifties != null) { txtTwoFifties.Dispose(); txtTwoFifties = null; } }