Ejemplo n.º 1
0
        static void Main()
        {
            WoWTorrent wtorrent = new WoWTorrent();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainWindow(wtorrent));
            wtorrent.Stop();
        }
Ejemplo n.º 2
0
 public MainWindow(WoWTorrent torrent)
 {
     updateValDelegate = new UpdateValuesDel(UpdateValues);
     this.FormClosing += MainWindowClosing;
     wtorrent          = torrent;
     InitializeComponent();
     initPlayButton();
     initTopBar();
     initDownloadBar();
     initOptionMenuButton();
     CreateUpdaterThread();
 }