Пример #1
0
 /// <summary>
 /// Handles the Click event of the showMeButton 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 showMeButton_Click(object sender, EventArgs e)
 {
     using (var dialog = new ChildForm())
     {
         dialog.ShowDialog(this);
     }
 }
Пример #2
0
 /// <summary>
 /// Handles the Click event of the showMeButton 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 showMeButton_Click(object sender, EventArgs e)
 {
     using (var dialog = new ChildForm())
     {
         dialog.ShowDialog(this);
     }
 }