示例#1
0
 private void cadastrarInsumosToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         Form frm = new CadastroInsumos("0", null, null, null);
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
示例#2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            Form frm = new CadastroInsumos(InsumosdataGridView1.Rows[Convert.ToInt32(bindingNavigatorPositionItem.TextBox.Text) - 1].Cells[0].Value.ToString(), null, null, null);

            frm.ShowDialog();
        }
示例#3
0
        private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
        {
            Form frm = new CadastroInsumos("0", null, null, null);

            frm.ShowDialog();
        }