コード例 #1
0
        public CanvasGUIControl(MainWindow form, Canvas canvas, Grid grid, ListContainer lc, DockPanel dock_bottom, Rectangle highlighter, Rectangle indicator, Grid hRulerGrid, UniformGrid uHRulerGrid, Grid vRulerGrid, UniformGrid uVRulerGrid, ImageGUIControl igc, DotGUIControl dgc, ListImageGUIControl lgc, HighlighterGUIControl hgc, ShortcutGUIControl sgc)
        {
            this.form        = form;
            this.canvas      = canvas;
            this.grid        = grid;
            this.lc          = lc;
            this.dock_bottom = dock_bottom;
            this.highlighter = highlighter;
            this.indicator   = indicator;

            this.hRulerGrid  = hRulerGrid;
            this.uHRulerGrid = uHRulerGrid;

            this.vRulerGrid  = vRulerGrid;
            this.uVRulerGrid = uVRulerGrid;

            this.igc = igc;
            this.dgc = dgc;
            this.lgc = lgc;
            this.hgc = hgc;
            this.sgc = sgc;

            this.modeTool = modeTool;

            LoadEvents();
            LoadGrids();

            CreateGridLines();

            SetPositionStart();

            CreateRuler();
        }
コード例 #2
0
 public ImageGUIControl(MainWindow form, Canvas canvas, Grid grid, DotGUIControl dgc, HighlighterGUIControl hgc, WireGUIControl wgc, MessageGUIControl mgc, MenuGUIControl mngc, ListContainer lc, ShortcutGUIControl sgc)
 {
     this.form   = form;
     this.canvas = canvas;
     this.grid   = grid;
     this.dgc    = dgc;
     this.hgc    = hgc;
     this.wgc    = wgc;
     this.mgc    = mgc;
     this.mngc   = mngc;
     this.lc     = lc;
     this.sgc    = sgc;
 }