| | |
| | | InitializeComponent(); |
| | | } |
| | | |
| | | Vmo.UserLoginAccount _LoginAccount; |
| | | public HStation.Vmo.UserLoginAccount NewBindingData(HStation.Vmo.UserLoginAccount LoginAccount, out string error)//新建用户 |
| | | Yw.Vmo.User _LoginAccount; |
| | | public Yw.Vmo.User NewBindingData(Yw.Vmo.User LoginAccount, out string error)//新建用户 |
| | | { |
| | | error = ""; |
| | | if(LoginAccount == null)//新建一个用户 |
| | | { |
| | | _LoginAccount = new Vmo.UserLoginAccount(); |
| | | _LoginAccount = new Yw.Vmo.User(); |
| | | } |
| | | else |
| | | { |
| | |
| | | return null; |
| | | } |
| | | _LoginAccount.LoginName= TextEditLoginName.Text; |
| | | _LoginAccount.PassWord = TextEditPassWord.Text; |
| | | _LoginAccount.LoginPwd = TextEditPassWord.Text; |
| | | return _LoginAccount; |
| | | } |
| | | public bool ShowLoginName(HStation.Vmo.UserLoginAccount LoginAccount, out string error)//展示用户名 |
| | | public bool ShowLoginName(Yw.Vmo.User LoginAccount, out string error)//展示用户名 |
| | | { |
| | | error = ""; |
| | | if (LoginAccount == null)//判断目前是否需要修改用户信息 |