public MainControlUserControl(MainWindow mw) { InitializeComponent(); this.mw = mw; fuc = new FrameUserControl(this); liveuc = new LiveUserControl(this); liveuc.CanDraw(); }
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; }