Beispiel #1
0
 /// <summary>
 /// コンストラクター
 /// </summary>
 public ctlDBGUIUnit()
 {
     this.InitializeComponent();
     Common.EnableDoubleBuffering(this);
     this.DBs = new DataGridView[] { this.CreateDefaultDataGridView() };
     this.tolScale.Items.AddRange(ViewScale.GetNames());
 }
Beispiel #2
0
        private bool valueChangingBySystem = false;    //システムによってフレーム情報が変更されているかどうか

        /// <summary>
        /// コンストラクター
        /// </summary>
        public ctlDBGUIEffect()
        {
            this.InitializeComponent();
            Common.EnableDoubleBuffering(this, new Control[] { this.pnlPreview });

            this.DBs = new DataGridView[] { this.CreateDefaultDataGridView() };
            this.tolScale.Items.AddRange(ViewScale.GetNames());
            this.tolDrawDest.Items.AddRange(mgrDBEffect.EffectOneData.GetViewPositionList());
            this.uctlViewPos.Minimum = new Point(short.MinValue, short.MinValue);
            this.uctlViewPos.Maximum = new Point(short.MaxValue, short.MaxValue);
        }
Beispiel #3
0
 /// <summary>
 /// コンストラクター
 /// </summary>
 public ctlMapViewer()
 {
     this.InitializeComponent();
     Common.EnableDoubleBuffering(this);
     this.tolScale.Items.AddRange(ViewScale.GetNames());
     this.pnlPreview.MouseWheel += this.pnlPreview_MouseWheel;
     this.mgr = new mgrMapObject(this.UndoRedo)
     {
         //ビューア専用の設定
         CurrentLayer = -1,
         VisibleGrid  = false
     };
     for (var i = 0; i < (int)Map.Layer.Event; i++)
     {
         this.mgr.SwitchLayers[i] = true;
     }
 }