Esempio n. 1
0
		public override void Initialize(FrmMainEditor frm) {
			base.Initialize(frm);

			LogicPencilTool.Instance.Initialize(frm);
			LogicBucketTool.Instance.Initialize(frm);
			LogicRectangleTool.Instance.Initialize(frm);
			LogicPathTool.Instance.Initialize(frm);
		}
Esempio n. 2
0
		public override void Initialize(FrmMainEditor mainForm) {
			base.Initialize(mainForm);

			EntityAddTool.Instance.Initialize(mainForm);
			EntitySelectionTool.Instance.Initialize(mainForm);
			EntityRectangleTool.Instance.Initialize(mainForm);
			EntityMoveTool.Instance.Initialize(mainForm);
			EntitySelectAllTool.Instance.Initialize(mainForm);
			EntityRemoveTool.Instance.Initialize(mainForm);
		}
Esempio n. 3
0
		public override void Initialize(FrmMainEditor mainForm) {
			if (!initialized) {
				base.Initialize(mainForm);

				PencilTool.Instance.Initialize(mainForm);
				RectangleTool.Instance.Initialize(mainForm);
				BucketTool.Instance.Initialize(mainForm);
				EraserTool.Instance.Initialize(mainForm);
				LogicBrushTool.Instance.Initialize(mainForm);

				/*Once per runtime*/
				EditorForm.editorcontrol.MouseDown += new MouseEventHandler(onMouseDown);
				EditorForm.editorcontrol.MouseMove += new MouseEventHandler(onMouseMove);
				EditorForm.editorcontrol.MouseUp += new MouseEventHandler(onMouseUp);

				initialized = true;
			}
		}
Esempio n. 4
0
		public void Initialize(FrmMainEditor frm) {
			this.editorform = frm;
			this.Initialized = true;
		}
Esempio n. 5
0
		public virtual void Initialize(FrmMainEditor mainForm) {
			this.EditorForm = mainForm;
		}
Esempio n. 6
0
		public override void Initialize(FrmMainEditor mainForm) {
			base.Initialize(mainForm);
		}
Esempio n. 7
0
		public override void Initialize(FrmMainEditor mainForm) {
			this.selection = new Selection();
			base.Initialize(mainForm);
		}