Example #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();
 }
Example #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);
        }
Example #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();
        }
Example #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);
 }