Esempio n. 1
0
        private void tSB_Add_Click(object sender, EventArgs e)
        {
            frmAddSupplier frm = new frmAddSupplier();

            frm.ShowDialog();
            dGV_Supplier.DataSource = _sup.GetListSupplierMySQL();
            SetColorTable();
        }
Esempio n. 2
0
        private void dGV_Supplier_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            frmAddSupplier frm = new frmAddSupplier();

            if (dGV_Supplier.CurrentRow != null)
            {
                frm._sup = InfoSupplier();
                frm.ShowDialog();
                dGV_Supplier.DataSource = _sup.GetListSupplierMySQL();
            }
            SetColorTable();
        }
Esempio n. 3
0
        private void tSP_Edit_Click(object sender, EventArgs e)
        {
            frmAddSupplier frm = new frmAddSupplier();

            if (dGV_Supplier.CurrentRow != null)
            {
                frm._sup = InfoSupplier();
                frm.ShowDialog();
                dGV_Supplier.DataSource = _sup.GetListSupplierMySQL();
            }
            SetColorTable();
        }