/// <summary> /// コンストラクター /// </summary> public ctlDBGUIUnit() { this.InitializeComponent(); Common.EnableDoubleBuffering(this); this.DBs = new DataGridView[] { this.CreateDefaultDataGridView() }; this.tolScale.Items.AddRange(ViewScale.GetNames()); }
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); }
/// <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; } }