Ejemplo n.º 1
0
        private void productInOutDetailToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (IsNull(productInOutDetail))
            {
                productInOutDetail = new ProductInOutDetail();

                AddToTabControl(productInOutDetail);

                productInOutDetail.FormClosed += new FormClosedEventHandler(ProductInOutDetailClosedEventHandler);
            }
            else
            {
                SetAsSelectedTab(productInOutDetail);
            }
        }
Ejemplo n.º 2
0
 private void ProductInOutDetailClosedEventHandler(object sender, FormClosedEventArgs e)
 {
     productInOutDetail = null;
     ClearTabPageWithContent(productInOutDetail);
 }