/// <summary> /// Create a new CodeEditor form. /// </summary> public CodeEditor(Main parent) { InitializeComponent(); windowMenuItem = new MenuItem(ShortFileName, (s, e) => Activate()); FindReplace = new FindReplace(this); parentForm = parent; parentForm.FireOnCodeEditorLoad(this); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Events = new EventQueue<string>(); Main main = new Main(); Events.Updated += (sender, e) => main.FireOnEventLogged(main.EventList); LoadSettings(); CheckForPlugins(); Application.Run(main); }