예제 #1
0
        private void btnCreateSeries_Click(object sender, EventArgs e)
        {
            frmNewSeries create = new frmNewSeries();

            create.FormClosed += new FormClosedEventHandler(create_FormClosed);

            create.ShowDialog();
        }
예제 #2
0
        private void btnEditSeries_Click(object sender, EventArgs e)
        {
            if (this.ulvFormSeries.SelectedItems.Count > 0)
            {
                frmNewSeries edit = new frmNewSeries(FormSeriesDAO.DAO.Load(Convert.ToInt32(this.ulvFormSeries.SelectedItems[0].Key)));
                edit.FormClosed += new FormClosedEventHandler(create_FormClosed);

                edit.ShowDialog();
            }
        }