示例#1
0
        private void compraToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmMovimentacaoCompra f = new frmMovimentacaoCompra();

            f.ShowDialog();
            f.Dispose();
        }
示例#2
0
        private void mnuCompra_Click(object sender, EventArgs e)
        {
            frmMovimentacaoCompra f = new frmMovimentacaoCompra();

            f.ShowDialog();
            f.Dispose();
        }
        private void compraToolStripMenuItem_Click(object sender, EventArgs e) //https://youtu.be/VOjVYzRZk50?list=PLfvOpw8k80Wqj1a66Qsjh8jj4hlkzKSjA&t=159
        {
            frmMovimentacaoCompra f = new frmMovimentacaoCompra();

            f.ShowDialog();
            f.Dispose();
        }
 private void dgvCompras_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         frmMovimentacaoCompra f = new frmMovimentacaoCompra();
         f.codigo = Convert.ToInt32(dgvCompras.Rows[e.RowIndex].Cells["CODIGO"].Value);
         Close();
         f.ShowDialog();
         f.Dispose();
     }
 }
示例#5
0
 private void compraToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmMovimentacaoCompra movcom = new frmMovimentacaoCompra();
     movcom.ShowDialog();
     movcom.Dispose();
 }