static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); FilerView2 GUI = new FilerView2(); FilerController2 c = new FilerController2(GUI); Application.Run(GUI); }
public FilerController2(FilerView2 _GUI) { GUI = _GUI; GetClassesAsync(); GUI.ClassClick += ClassClicked; GUI.UploadEvent += UploadResource; GUI.DeleteEvent += DoDelete; GUI.GetContentsEvent += DoGetFile; GUI.UpdateResourceEvent += DoUpdateResource; }