Пример #1
0
 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();
 }
Пример #2
0
        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);
        }
Пример #3
0
        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();
        }
Пример #4
0
 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);
 }