private void ChangePwdForm_Load(object sender, EventArgs e) { if (!BCUtility.isLogin(bcApp)) { return; } m_yourIDTxb.Text = bcApp.LoginUserID; }
/// <summary> /// Handles the Click event of the changePasswordToolStripMenuItem 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 changePasswordToolStripMenuItem_Click(object sender, EventArgs e) { if (!BCUtility.isLogin(bcApp)) { if (!BCUtility.doLogin(this, bcApp)) { return; } } openForm("ChangePwdForm"); }