static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); YoutubeUploadAppGUI view = new YoutubeUploadAppGUI(); new Controller(view); Application.Run(view); }
/// <summary> /// Creates a controller and hooks alle vents /// </summary> /// <param name="window"></param> public Controller(YoutubeUploadAppGUI window) { this.window = window; window.Upload = HandleUpload; }