private void MemcallWnd_Load(object sender, EventArgs e) { new Thread(() => { FileAssociation.AssociateESCRIPT("Memcall Project", System.Reflection.Assembly.GetExecutingAssembly().Location, ".memcall", "Memcall"); FileAssociation.SHChangeNotify(FileAssociation.SHCNE_ASSOCCHANGED, FileAssociation.SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero); }).Start(); new Thread(CheckProcess).Start(); Program.DoAero(this, panel1); if (ProjectPath != null) { LoadProject(ProjectPath); } }