Beispiel #1
0
        private void totalInventoryDetailToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (IsNull(totalInventoryStatus))
            {
                totalInventoryStatus = new TotalInventoryStatus();

                AddToTabControl(totalInventoryStatus);

                totalInventoryStatus.FormClosed += new FormClosedEventHandler(TotalInventoryFormClosedEventHandler);
            }
            else
            {
                SetAsSelectedTab(totalInventoryStatus);
            }
        }
Beispiel #2
0
 private void TotalInventoryFormClosedEventHandler(object sender, FormClosedEventArgs e)
 {
     totalInventoryStatus = null;
     ClearTabPageWithContent(totalInventoryStatus);
 }