private void btnClose_Click_1(object sender, EventArgs e)
        {
            frmGet_Deliveries back = new frmGet_Deliveries();
            back.Show();

            this.Dispose();
            this.Close();
        }
Example #2
0
 private void btnInventory_Click(object sender, EventArgs e)
 {
     frmGet_Deliveries get_deliveries = new frmGet_Deliveries();
     get_deliveries.Show();
 }
        private void btnOk_Click(object sender, EventArgs e)
        {
            config.Barcode = textBox1.Text.Trim();
            switch(FormName)
            {
                case "Stock":
                    frmGet_Stock get_stock = new frmGet_Stock();
                    get_stock.Show();
                    break;
                case "Deliveries":
                    frmGet_Deliveries get_Deliveries = new frmGet_Deliveries();
                    get_Deliveries.Show();
                    break;
                case "MateialIssuance":
                    frmGetMaterialIssuance2 get_MaterialIssuance = new frmGetMaterialIssuance2();
                    get_MaterialIssuance.Show();
                    break;
            }

            this.Dispose();
            this.Close();
        }