Ejemplo n.º 1
0
        public AerialView(DrawArea.DrawArea vcontrol, ItopVectorControl tlVector)
        {
            this.components                = null;
            tl1                            = tlVector;
            this.vectorControl             = vcontrol;
            this.pageSetting               = vcontrol.PageSettings;
            this.pageSetupdlg              = new PageSetupDialog();
            this.pageSetupdlg.PageSettings = this.pageSetting;
            this.margin                    = 0;
            this.printdoc                  = new PrintDocument();
            this.pos                       = Point.Empty;
            this.scalex                    = 1f;
            this.scaley                    = 1f;
            this.startPoint                = Point.Empty;
            this.oriPoint                  = Point.Empty;
            this.InitializeComponent();

            this.printdoc.PrintPage += new PrintPageEventHandler(this.printdoc_PrintPage);

            this.label8.Cursor = SpecialCursors.handCurosr;
            this.CalculateScale();
        }
Ejemplo n.º 2
0
        public AerialView(DrawArea.DrawArea vcontrol,ItopVectorControl tlVector)
        {
            this.components = null;
            tl1=tlVector;
            this.vectorControl = vcontrol;
            this.pageSetting = vcontrol.PageSettings;
            this.pageSetupdlg = new PageSetupDialog();
            this.pageSetupdlg.PageSettings = this.pageSetting;
            this.margin = 0;
            this.printdoc = new PrintDocument();
            this.pos = Point.Empty;
            this.scalex = 1f;
            this.scaley = 1f;
            this.startPoint = Point.Empty;
            this.oriPoint = Point.Empty;
            this.InitializeComponent();

            this.printdoc.PrintPage += new PrintPageEventHandler(this.printdoc_PrintPage);

            this.label8.Cursor = SpecialCursors.handCurosr;
            this.CalculateScale();
        }