Exemple #1
0
        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();
            }
        }
Exemple #2
0
        public TestSystem(MainFrm frm)
        {
            _frm = frm;

            InitializeComponent();
        }
Exemple #3
0
        public TestMonery(MainFrm frm)
        {
            _frm = frm;

            InitializeComponent();
        }
Exemple #4
0
 public SystemManagerFrm(MainFrm frm)
 {
     _frm = frm;
     InitializeComponent();
 }