Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //String exc = "";
            //if (WSConnector.Instance.validaLaSession(out exc))
            //{
            frmAddProductor myform = new frmAddProductor();

            myform.ShowDialog();
            //}
            //else
            //{

            //    MessageBox.Show(exc, "ERROR!!");
            //    Login fr = new Login(1);
            //    fr.ShowDialog();



            //}
        }
Esempio n. 2
0
        private void btnModificar_Click(object sender, EventArgs e)
        {
            frmAddProductor myform = new frmAddProductor(this.dgvProductores.SelectedRows[0].Cells["ID"].Value.ToString());

            Principal.OpenFormInDock(myform);
        }
Esempio n. 3
0
        private void btnAgregar_Click(object sender, EventArgs e)
        {
            frmAddProductor myform = new frmAddProductor();

            Principal.OpenFormInDock(myform);
        }
Esempio n. 4
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmAddProductor fr = new frmAddProductor();

            Principal.OpenFormInDock(fr);
        }
Esempio n. 5
0
        private void agregarProductorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAddProductor dlg = new frmAddProductor();

            dlg.Show(this._dockPanel, DockState.Document);
        }