Esempio n. 1
0
        private void btnEditForm_Click(object sender, EventArgs e)
        {
            if (this.ulvForms.SelectedItems.Count > 0)
            {
                frmNewForm edit = new frmNewForm(FormDAO.DAO.Load(Convert.ToInt32(this.ulvForms.SelectedItems[0].Key)));
                edit.FormClosed += new FormClosedEventHandler(create_FormClosed);

                edit.ShowDialog();
            }
        }
Esempio n. 2
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            this.pnlPrintSeriesPanel.Visible = false;

            frmNewForm create = new frmNewForm();

            create.FormClosed += new FormClosedEventHandler(create_FormClosed);

            create.ShowDialog();
        }