예제 #1
0
        private void numberingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SurveyNumbering frm = new SurveyNumbering(CurrentSurvey.SurveyCode);

            frm.frmParent = this.frmParent;
            frm.key       = "Numbering";
            frmParent.AddTab(frm, "Numbering", "Numbering");
        }
예제 #2
0
        private void cmdOpenNumbering_Click(object sender, EventArgs e)
        {
            if (GetTab("Numbering") != null)
            {
                tabControl1.SelectTab("Numbering");
                return;
            }

            SurveyNumbering frm = new SurveyNumbering();

            frm.frmParent = this;
            frm.key       = "Numbering";


            try
            {
                AddTab(frm, "Numbering", "Numbering");
            }
            catch
            {
            }
        }