public static bool ShowFavoritesManager()
 {
     using FavoritesManagerDialog dialog = new FavoritesManagerDialog(Settings.Default.FavoriteRepos);
     if (dialog.ShowDialog() == DialogResult.OK)
     {
         Settings.Default.FavoriteRepos = dialog.Favorites;
         Settings.Default.Save();
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #2
0
 private void ShowFavoritesManagerMenuItem_Click(object?sender, EventArgs e)
 {
     FavoritesManagerDialog.ShowFavoritesManager();
 }
            public FavoritesDragDropHelper(FavoritesManagerDialog owner)
            {
                _owner = owner;

                MoveOnDragDrop = true;
            }