コード例 #1
0
 public MainControlUserControl(MainWindow mw)
 {
     InitializeComponent();
     this.mw = mw;
     fuc     = new FrameUserControl(this);
     liveuc  = new LiveUserControl(this);
     liveuc.CanDraw();
 }
コード例 #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;
        }