public BooruBoard(BooruBoard board) { URL = board.URL; Name = board.Name; Password = board.Password; UserName = board.UserName; ProviderType = board.ProviderType; PasswordSalt = board.PasswordSalt; }
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; }
private void AddBooru() { CanUseLoginDetails = false; _previousBoard = CurrentSelectedBoard; CurrentSelectedBoard = new BooruBoard(); EnableEditing = true; DoShowNewBooru = Visibility.Visible; }