public static string FindSDKPath() { ProjectSDKFinder sdkf = new ProjectSDKFinder(); sdkf.BackColor = ProgramProperties.Themes[Globals.Properties.ThemeSelectedIndex].BackColor; sdkf.ForeColor = ProgramProperties.Themes[Globals.Properties.ThemeSelectedIndex].ForeColor; ProjectMain.HandlePluginControls(sdkf.Controls); sdkf.ShowDialog(); return(sdkf.ret); }
public static Project CreateProjectDialog() { ProjectDialog pd = new ProjectDialog(); pd.BackColor = ProgramProperties.Themes[Globals.Properties.ThemeSelectedIndex].BackColor; pd.ForeColor = ProgramProperties.Themes[Globals.Properties.ThemeSelectedIndex].ForeColor; ProjectMain.HandlePluginControls(pd.Controls); pd.ShowDialog(); return(pd.ret); }
public void ShowEditDialog() { PropertiesEditDialog p = new PropertiesEditDialog(); p.ret = this; p.BackColor = Themes[ThemeSelectedIndex].BackColor; p.ForeColor = Themes[ThemeSelectedIndex].ForeColor; ProjectMain.HandlePluginControls(p.Controls); p.ShowDialog(); if (p.ret != null) { this.SDKPath = p.ret.SDKPath; } }