예제 #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
 public ControlPanelProxy(ControlPanel p)
 {
     _panel = p;
     _disp  = p.Dispatcher;
 }
예제 #3
0
 public ControlPanelProxy(ControlPanel p)
 {
     _panel = p;
     _disp = p.Dispatcher;
 }