示例#1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            configWatcher = new ConfigurationsWatcher();
            configWatcher.ConfigChanged += OnConfigChanged;
            //shareType = ShareType.Screen;
            loadScreensList();

            wifiScreen = new WifiScreenWrapper();
            comboScreens.DisplayMember = "Text";
            comboScreens.ValueMember   = "Value";

            configures = Utils.ReadConfigFromRegistry();
            showConfigs();

            StartServer();
        }
示例#2
0
 private static void Application_ApplicationExit(object sender, EventArgs e)
 {
     WifiScreenWrapper.Shutdown();
 }