private void addProg() { EditProgWindow editProg = new EditProgWindow(progList); editProg.ShowDialog(this); JumpListHelper.Update(); refreshWindow(); }
private void editSelectedProg() { if (this.progsListView.SelectedItems.Count == 1) { EditProgWindow editGame = new EditProgWindow(progList, Int32.Parse(progsListView.SelectedItems[0].Name)); editGame.ShowDialog(this); } JumpListHelper.Update(); refreshWindow(); }