示例#1
0
        /// <summary>
        /// Handles the Click event of the newToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SubgroupForm sf = new SubgroupForm();

            sf.Owner = this;
            sf.ShowDialog();
        }
示例#2
0
 /// <summary>
 /// Handles the Click event of the newToolStripMenuItem control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
 private void newToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SubgroupForm sf = new SubgroupForm();
     sf.Owner = this;
     sf.ShowDialog();
 }