コード例 #1
0
        private void vendaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmMovimentacaoVenda f = new frmMovimentacaoVenda();

            f.ShowDialog();
            f.Dispose();
        }
コード例 #2
0
        public void toolStripButton1_Click(object sender, EventArgs e)
        {
            frmMovimentacaoVenda f = new frmMovimentacaoVenda();

            if (Application.OpenForms[f.Name] == null)
            {
                f.ShowDialog();
                f.Dispose();
            }
            else
            {
                Application.OpenForms[f.Name].Focus();
            }
        }
コード例 #3
0
        private void receberVendaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmMovimentacaoVenda f = new frmMovimentacaoVenda();

            if (Application.OpenForms[f.Name] == null)
            {
                f.ShowDialog();
                f.Dispose();
            }
            else
            {
                Application.OpenForms[f.Name].Focus();
            }
        }
コード例 #4
0
        public void AbrirCaixa()
        {
            frmMovimentacaoVenda f = new frmMovimentacaoVenda();

            if (Application.OpenForms[f.Name] == null)
            {
                f.ShowDialog();
                f.Dispose();
            }
            else
            {
                Application.OpenForms[f.Name].Focus();
            }
        }