상속: BaseIObservable
예제 #1
0
 public BooruBoard(BooruBoard board)
 {
     URL = board.URL;
     Name = board.Name;
     Password = board.Password;
     UserName = board.UserName;
     ProviderType = board.ProviderType;
     PasswordSalt = board.PasswordSalt;
 }
예제 #2
0
 public BooruBoard(BooruBoard board)
 {
     URL          = board.URL;
     Name         = board.Name;
     Password     = board.Password;
     UserName     = board.UserName;
     ProviderType = board.ProviderType;
     PasswordSalt = board.PasswordSalt;
 }
예제 #3
0
        private void EditBooru()
        {
            _editingCurrentMode = true;
            _previousBoard = CurrentSelectedBoard;
            CurrentSelectedBoard = new BooruBoard(_previousBoard);
            EnableEditing = true;

            if (string.IsNullOrEmpty(CurrentSelectedBoard.PasswordSalt))
                CanUseLoginDetails = false;
            else
                CanUseLoginDetails = true;

            DoShowNewBooru = Visibility.Visible;
        }
예제 #4
0
 private void AddBooru()
 {
     CanUseLoginDetails = false;
     _previousBoard = CurrentSelectedBoard;
     CurrentSelectedBoard = new BooruBoard();
     EnableEditing = true;
     DoShowNewBooru = Visibility.Visible;
 }