public override void StartUp() { //Highlights mHighlight = new ElementRuntimeHighlight(); mHighlight.Color = Color.Yellow; //UI entityControlControls = new EntityControlControls(mCurrentSelectedElementRuntime, mRuntimeOptions); GlueViewCommands.Self.CollapsibleFormCommands.AddCollapsableForm("Entity Control", 200, entityControlControls, this); //Events this.Push += new EventHandler(OnPush); this.ElementLoaded += new EventHandler(OnElementLoaded); this.Drag += new EventHandler(OnDrag); this.Click += new EventHandler(OnClick); this.MouseMove += new EventHandler(OnMouseMove); this.Update += new EventHandler(OnUpdate); this.ElementHiglight += new EventHandler(OnElementHighlight); //Layers mLayers = new List <Layer>(); setUpLayerComboBox(); //Handles mScalingHandles = new ScalingHandles(); mRotationHandles = new RotationHandles(); //Action mCurrentAction = ActionType.None; FillVariableList(); }
public override void StartUp() { //Highlights mHighlight = new ElementRuntimeHighlight(); mHighlight.Color = Color.Yellow; //UI entityControlControls = new EntityControlControls(mCurrentSelectedElementRuntime, mRuntimeOptions); GlueViewCommands.Self.CollapsibleFormCommands.AddCollapsableForm("Entity Control", 200, entityControlControls, this); //Events this.Push += new EventHandler(OnPush); this.ElementLoaded += new EventHandler(OnElementLoaded); this.Drag += new EventHandler(OnDrag); this.Click += new EventHandler(OnClick); this.MouseMove += new EventHandler(OnMouseMove); this.Update += new EventHandler(OnUpdate); this.ElementHiglight += new EventHandler(OnElementHighlight); //Layers mLayers = new List<Layer>(); setUpLayerComboBox(); //Handles mScalingHandles = new ScalingHandles(); mRotationHandles = new RotationHandles(); //Action mCurrentAction = ActionType.None; FillVariableList(); }