private void Double_Click(object sender, MouseButtonEventArgs e) { Program p = IconList.SelectedItem as Program; LanuchProcess lp = new LanuchProcess(); if(p != null) lp.Start(p.Path); Stop(); }
private void Start_Click(object sender, RoutedEventArgs e) { Home a = new Home(); a.ShowDialog(); HandleProgramService.INST.RefreshSelected(ref ReadyCurrentSelected, ReadyProgram.SelectedItems); LanuchProcess lp = new LanuchProcess(); lp.Start(ReadyCurrentSelected); }
private void Double_Click(object sender, MouseButtonEventArgs e) { Program p = IconList.SelectedItem as Program; LanuchProcess lp = new LanuchProcess(); if (p != null) { lp.Start(p.Path); } Stop(); }