Пример #1
0
        // コンストラクタ(シングルトンなのでprivate)
        private MyDotView(Form1 fm)
        {
            fm1 = fm;

            _WindowHandle  = fm;
            DvCtl          = new DV.Control();
            dPanelFixed    = new DV.GVIEW_PANEL_INFO();
            dPanelBlinking = new DV.GVIEW_PANEL_INFO();
            EquipmentName  = null;
            TextSize       = 0;
            GrpX           = 0; GrpY = 0;
        }
        // コンストラクタ(シングルトンなのでprivate)
        private MyDotView(MainForm mF)
        {
            mainform = mF;
            //ここは一番大事!
            mainform.Text = "";

            _WindowHandle  = mF;
            DvCtl          = new DV.Control();
            dPanelFixed    = new DV.GVIEW_PANEL_INFO();
            dPanelBlinking = new DV.GVIEW_PANEL_INFO();
            EquipmentName  = null;
            TextSize       = 0;
            GrpX           = 0; GrpY = 0;
        }