public MainControlUserControl(MainWindow mw)
 {
     InitializeComponent();
     this.mw = mw;
     fuc     = new FrameUserControl(this);
     liveuc  = new LiveUserControl(this);
     liveuc.CanDraw();
 }
Exemplo n.º 2
0
        public MainControlWindow(Window mw, List <Light> mLightList, bool canReturn)
        {
            InitializeComponent();
            fuc    = new FrameUserControl(this);
            liveuc = new LiveUserControl(this);
            liveuc.CanDraw();

            this.mLightList = mLightList;
            this.canReturn  = canReturn;
            Owner           = mw;
        }