예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            YoutubeUploadAppGUI view = new YoutubeUploadAppGUI();

            new Controller(view);
            Application.Run(view);
        }
예제 #2
0
 /// <summary>
 /// Creates a controller and hooks alle vents
 /// </summary>
 /// <param name="window"></param>
 public Controller(YoutubeUploadAppGUI window)
 {
     this.window = window;
     window.Upload = HandleUpload;
 }