コード例 #1
0
 private void menuItem2_Click(object sender, System.EventArgs e)
 {
     EcywareServicesCreateAccount createAccount = new EcywareServicesCreateAccount();
     if ( createAccount.ShowDialog() == DialogResult.OK )
     {
         txtUsername.Text = createAccount.UserName;
     }
 }
コード例 #2
0
 private void lnkCreateNewAccount_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
 {
     EcywareServicesCreateAccount createAccount = new EcywareServicesCreateAccount();
     if ( createAccount.ShowDialog() == DialogResult.OK )
     {
         txtUsername.Text = createAccount.UserName;
     }
 }