예제 #1
0
        //RegisterViewModel的构造函数
        public RegisterViewModel()
        {
            mClientViewModel = MClientViewModel.CreateInstance();
            this.UserName    = "";
            this.PassWord    = "";
            this.sPassWord   = "";
            this.RealName    = "";
            this.Sex         = "";
            this.Address     = "";
            this.Email       = "";
            this.PhoneNumber = "";
            this.Remark      = "";
            this.isRegist    = "false";

            boUserName    = false;
            boPassWord    = false;
            boSPassWord   = false;
            boRealName    = false;
            boSex         = false;
            boBirthDay    = false;
            boAddress     = false;
            boEmail       = false;
            boPhoneNumber = false;
            boRemark      = false;
        }
예제 #2
0
 public static MClientViewModel CreateInstance()
 {
     if (mClientViewModel == null)
     {
         Console.WriteLine("mClientViewModel创建开始");
         mClientViewModel = new MClientViewModel();
         Console.WriteLine("mClientViewModel创建完毕");
     }
     return(mClientViewModel);
 }
예제 #3
0
        //RegisterViewModel的构造函数
        public ChangePassWordViewModel()
        {
            mClientViewModel = MClientViewModel.CreateInstance();
            this.PassWord    = "";
            this.sPassWord   = "";
            this.ssPassWord  = "";

            boPassWord   = false;
            boSPassWord  = false;
            boSSPassWord = false;
        }
예제 #4
0
        //RegisterViewModel的构造函数
        public ChangeUserInfoViewModel()
        {
            mClientViewModel = MClientViewModel.CreateInstance();
            this.RealName    = "";
            this.Sex         = "";
            this.Address     = "";
            this.Email       = "";
            this.PhoneNumber = "";
            this.Remark      = "";
            this.isRegist    = "false";

            boRealName    = true;
            boSex         = false;
            boBirthDay    = false;
            boAddress     = true;
            boEmail       = true;
            boPhoneNumber = true;
            boRemark      = true;
        }