Beispiel #1
0
 private void btnModify_Click(object sender, EventArgs e)
 {
     if (flx.Rows.Count > 1)
     {
         SectionAddModify frm = new SectionAddModify(this);
         frm.id = Convert.ToInt32(flx[flx.RowSel, "sectionID"]);
         frm.ShowDialog();
     }
     else
     {
         Box.warnBox("Please select a row.");
     }
 }
Beispiel #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            SectionAddModify frm = new SectionAddModify(this);

            frm.ShowDialog();
        }