예제 #1
0
 public StandardTool(VMTool mainTool)
     : base(mainTool)
 {
     var sc = new StandardControl();
     sc.Merge += Merge;
     sc.Split += Split;
     Control = sc;
 }
예제 #2
0
 public EditFaceTool(VMTool mainTool)
     : base(mainTool)
 {
     var ef = new EditFaceControl();
     ef.Poke += Poke;
     ef.Bevel += Bevel;
     Control = ef;
 }
예제 #3
0
        public EditFaceTool(VMTool mainTool) : base(mainTool)
        {
            var ef = new EditFaceControl();

            ef.Poke  += Poke;
            ef.Bevel += Bevel;
            Control   = ef;
        }
예제 #4
0
        public StandardTool(VMTool mainTool) : base(mainTool)
        {
            var sc = new StandardControl();

            sc.Merge += Merge;
            sc.Split += Split;
            Control   = sc;
        }
예제 #5
0
파일: ScaleTool.cs 프로젝트: jpiolho/sledge
 public ScaleTool(VMTool mainTool)
     : base(mainTool)
 {
     var sc = new ScaleControl();
     Control = sc;
     sc.ValueChanged += ValueChanged;
     sc.ValueReset += ValueReset;
     sc.ResetOrigin += ResetOrigin;
     _origin = new VMPoint {Coordinate = Coordinate.Zero, Vertices = new List<Vertex>()};
 }
예제 #6
0
        public ScaleTool(VMTool mainTool) : base(mainTool)
        {
            var sc = new ScaleControl();

            Control          = sc;
            sc.ValueChanged += ValueChanged;
            sc.ValueReset   += ValueReset;
            sc.ResetOrigin  += ResetOrigin;
            _origin          = new VMPoint {
                Coordinate = Coordinate.Zero, Vertices = new List <Vertex>()
            };
        }
예제 #7
0
파일: VMSubTool.cs 프로젝트: silky/sledge
 protected VMSubTool(VMTool mainTool)
 {
     MainTool = mainTool;
 }
예제 #8
0
 protected VMSubTool(VMTool mainTool)
 {
     MainTool = mainTool;
 }