コード例 #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     try
     {
         if (idMesa != 0)
         {
             FrmTableSave frmTable = new FrmTableSave(idMesa, this);
             frmTable.ShowDialog();
             gridControl1.DataSource = null;
             fillGridTable();
         }
         else
         {
             MessageBox.Show("Selecione uma mesa");
         }
     }
     catch (Exception rr)
     {
         MessageBox.Show(rr.Message);
     }
 }
コード例 #2
0
        private void btnAddProduto_Click(object sender, EventArgs e)
        {
            FrmTableSave frm = new FrmTableSave(this);

            frm.ShowDialog();
        }