private void dyeingInwardVoucherButton_Click(object sender, EventArgs e)
        {
            if (inward_voucher_id == -1)
            {
                c.ErrorBox("No Voucher Found/Linked");
                return;
            }
            DataTable             table   = c.getTableRows("Dyeing_Inward_Voucher", "Voucher_ID=" + inward_voucher_id);
            DataRow               voucher = table.Rows[0];
            M_V2_dyeingInwardForm f       = new M_V2_dyeingInwardForm(voucher, false, new M_V_history(1), "dyeingInward");

            f.deleteButton.Visible = false;
            f.StartPosition        = FormStartPosition.CenterScreen;
            f.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            M_V2_dyeingInwardForm f = new M_V2_dyeingInwardForm("addBill");

            Global.background.show_form(f);
        }