public void Login() { string userName = txtUserName.Text.Trim(); string password = txtPassword.Text.Trim(); if (userName == "zhangsan" && password == "zhangsan") { MainFrm main = new MainFrm(); main.Show(); this.Hide(); } }
public TestSystem(MainFrm frm) { _frm = frm; InitializeComponent(); }
public TestMonery(MainFrm frm) { _frm = frm; InitializeComponent(); }
public SystemManagerFrm(MainFrm frm) { _frm = frm; InitializeComponent(); }