void ReleaseDesignerOutlets() { if (DetailsColumn != null) { DetailsColumn.Dispose(); DetailsColumn = null; } if (ProductColumn != null) { ProductColumn.Dispose(); ProductColumn = null; } if (ProductOutline != null) { ProductOutline.Dispose(); ProductOutline = null; } }
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; } }