コード例 #1
0
 /// <summary>
 /// Handler on Login Tool Strip Menu click
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnLoginToolStripMenuItemClick(object sender, EventArgs e)
 {
     LoginForm loginForm = new LoginForm { MdiParent = this };
     loginForm.Show();
 }
コード例 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public HostFrom()
 {
     InitializeComponent();
     LoginForm loginForm = new LoginForm { MdiParent = this };
     loginForm.Show();
 }