Exemplo n.º 1
0
 private void tSP_Edit_Click(object sender, EventArgs e)
 {
     if (dGV_Items.CurrentRow != null)
     {
         frmAddItems frm = new frmAddItems();
         frm.IdItem = dGV_Items.CurrentRow.Cells["ID"].Value.ToString();
         frm.ShowDialog();
         dGV_Items.DataSource = _items.GetTableItemsFullMySQL();
     }
 }
Exemplo n.º 2
0
        private void tSB_Add_Click(object sender, EventArgs e)
        {
            frmAddItems frm = new frmAddItems();

            frm.ShowDialog();
        }