Exemplo n.º 1
0
 public static void SelectPropertyItem(int index)
 {
     if (PropertiesForm == null)
     {
         PropertiesForm = new Forms.PropertiesForm();
         LSharp.Studio.MainForm.Instance.AddForm(PropertiesForm);
     }
     if (index != -1)
         PropertiesForm.SelectObject(Project.Files[index]);
     else
         PropertiesForm.SelectObject(Project);
 }
Exemplo n.º 2
0
 public static void UpdateWindows()
 {
     if (ProjectForm == null)
     {
         ProjectForm = new LSharp.Studio.WTFPlugin.Forms.ProjectItemsForm();
         LSharp.Studio.MainForm.Instance.AddForm(ProjectForm);
     }
     if (PropertiesForm == null)
     {
         PropertiesForm = new LSharp.Studio.WTFPlugin.Forms.PropertiesForm();
         LSharp.Studio.MainForm.Instance.AddForm(PropertiesForm);
     }
     if (ProjectForm != null)
         ProjectForm.UpdateForm();
     if (PropertiesForm != null)
         PropertiesForm.UpdateForm();
 }