示例#1
0
        private static void DoControlPanel(object o)
        {
            _ctlDisp = Dispatcher.CurrentDispatcher;
            Application ctlApp = new Application();

            ControlPanel panel = new ControlPanel((IntPtr)o);
            _proxy = new ControlPanelProxy(panel);

            _ready.Set(); // go!
            ctlApp.Run(panel);
        }
示例#2
0
        private static void DoControlPanel(object o)
        {
            _ctlDisp = Dispatcher.CurrentDispatcher;
            Application ctlApp = new Application();

            ControlPanel panel = new ControlPanel((IntPtr)o);

            _proxy = new ControlPanelProxy(panel);

            _ready.Set();             // go!
            ctlApp.Run(panel);
        }