Example #1
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            frmLevelDetail fu = new frmLevelDetail(null);

            fu.ShowDialog();

            if (fu.Tag != null)
            {
                LoadRefSection();
                LoadData(Core.ToStr(comboBoxEdit1.EditValue));
            }
        }
Example #2
0
        private void repoEdit_Click(object sender, EventArgs e)
        {
            if (gridView1.FocusedRowHandle < 0)
            {
                return;
            }
            clsInfo curr = (clsInfo)gridView1.GetFocusedRow();

            if (curr.ID != 0)
            {
                frmLevelDetail fu = new frmLevelDetail(curr);
                fu.ShowDialog();

                if (fu.Tag != null)
                {
                    LoadRefSection();
                    LoadData(Core.ToStr(comboBoxEdit1.EditValue));
                }
            }
        }