public CUserController(DbCenter db, ClientCommunication c)
 {
     _loginView   = new VLoginForm();
     _initForm    = new VInitializeForm();
     _db          = db;
     _defaultUser = _db.UserCenter.GetDefaultUser();
     _cc          = c;
 }
 public void ShowLoginForm()
 {
     if (_loginView == null)
     {
         _loginView = new VLoginForm();
     }
     _loginView.SetController(this);
     _loginView.username.Text = _defaultUser.Username;
     _loginView.Show();
 }