Beispiel #1
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            s_Result result = controler.InvSave(Common.ivsPath);

            MessageBox.Show(result.strResultInfo);
            if (result.iResultCode == 0)
            {
                Close();
            }
        }
Beispiel #2
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            s_Result result = controler.Login(tbPwd.Text);

            if (result.iResultCode != 0)
            {
                MessageBox.Show(result.strResultInfo);
            }
            else
            {
                Close();
            }
        }