示例#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);
 }