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

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

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