Exemple #1
0
        private void editinventory_Click(object sender, EventArgs e)
        {
            FormAddInventory add = new FormAddInventory("edit", indexdatagrid);

            add.RefreshDgv += new FormAddInventory.DoEvent(Load_DataInvent);
            //dataGridView1.Columns[0].Visible = false;
            add.ShowDialog();
        }
Exemple #2
0
        private void btn_add_sales_Click(object sender, EventArgs e)
        {
            FormAddInventory add = new FormAddInventory("add", 0);

            add.RefreshDgv += new FormAddInventory.DoEvent(Load_DataInvent);
            //dataGridView1.Columns[0].Visible = false;
            add.ShowDialog();
        }