示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DiscordClient.Initialize();

            YoutubeHandler.Initialize();
            YoutubeHandler.Start();

            Application.Run(new MainApplicationContext());
        }
 // Resume the RPC
 void Start(object sender, EventArgs e)
 {
     DiscordClient.Start();
     YoutubeHandler.Start();
     UpdateContextMenu();
 }