private void linkLabelStart_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (IsSingleApplication)
     {
         ApplicationControl.StartApplication(Application);
     }
     else
     {
         ApplicationControl.StartApplicationsBySet(ID);
     }
 }
Exemple #2
0
 private void StartSingle_Click(object sender, EventArgs e)
 {
     try
     {
         ToolStripItem item = (ToolStripItem)sender;
         ApplicationControl.StartApplication((Application)item.Tag);
     }
     catch (Exception ex)
     {
         FormUtilities.ShowError(this, ex);
     }
 }
Exemple #3
0
 private void StartRecent_Click(object sender, EventArgs e)
 {
     try
     {
         ToolStripItem item        = (ToolStripItem)sender;
         Application   application = ApplicationControl.GetApplicationByID((string)item.Tag);
         if (application != null)
         {
             ApplicationControl.StartApplication(application);
         }
         else
         {
             ApplicationControl.StartApplicationsBySet((string)item.Tag);
         }
     }
     catch (Exception ex)
     {
         FormUtilities.ShowError(this, ex);
     }
 }