Пример #1
0
        private void btnSalesMan_Click(object sender, EventArgs e)
        {
            statusSale           = new SalesStatus();
            statusSale.MdiParent = this;
            statusSale.Dock      = DockStyle.Fill;

            fsm           = new frmSalesManager(statusSale);
            fsm.MdiParent = this;
            fsm.Dock      = DockStyle.Fill;
            for (int i = 0; i < MdiChildren.Length; i++)
            {
                MdiChildren[i].Hide();
            }
            fsm.Show();
        }
Пример #2
0
 public frmSalesManager(SalesStatus f1) : this()
 {
     this.status = f1;
 }