public GeoRedeProject() { InitializeComponent(); GpsToolsNET.License objLicense = new GpsToolsNET.License(); objLicense.LicenseKey = "F849EF1B603ECB8458D9"; map1 = new GpsViewNET.Map(); map1.Location = new Point(1, 1); map1.Size = new Size(panel1.ClientRectangle.Width - 2, panel1.ClientRectangle.Height - 2); map1.OnMouseDown += new GpsViewNET.OnMouseDown(map1_OnMouseDown); map1.OnObjectDown += new GpsViewNET.OnObjectDown(map1_OnObjectDown); this.panel1.Controls.Add(map1); //objEllipseMark = make_ellipseMark(); }
public Croqui() { InitializeComponent(); GpsToolsNET.License objLicense = new GpsToolsNET.License(); objLicense.LicenseKey = "F849EF1B603ECB8458D9"; map1 = new GpsViewNET.Map(); map1.Location = new Point(2, 2); //map1.Open(Library.appDir + "\\map\\bahia.MapLib"); map1.Size = new Size(panel1.ClientRectangle.Width - 4, panel1.ClientRectangle.Height - 4); //map1.OnMouseDown += new GpsViewNET.OnMouseDown(map1_OnMouseDown); //map1.OnObjectDown += new GpsViewNET.OnObjectDown(map1_OnObjectDown); this.panel1.Controls.Add(map1); //lInfo.BringToFront(); }
public Croqui() { InitializeComponent(); GpsToolsNET.License objLicense = new GpsToolsNET.License(); objLicense.LicenseKey = "F849EF1B603ECB8458D9"; openFileDialog1.InitialDirectory = "shp"; map1 = new GpsViewNET.Map(); //map1.Open(Library.appDir + "\\imagens\\croqui.MapLib"); map1.Location = new Point(1, 1); map1.Size = new Size(panel1.ClientRectangle.Width - 2, panel1.ClientRectangle.Height - 2); map1.OnMouseDown += new GpsViewNET.OnMouseDown(map1_OnMouseDown); map1.OnObjectDown += new GpsViewNET.OnObjectDown(map1_OnObjectDown); this.panel1.Controls.Add(map1); lInfo.BringToFront(); //croqui = new CroquiEditor(this.panel1.ClientRectangle.Width - 4, // this.panel1.ClientRectangle.Height - 4); //this.panel1.Controls.Add(croqui); //croqui.BringToFront(); //croqui.Location = // new Point(2, 2); //croqui.Anchor = AnchorStyles.Top | AnchorStyles.Left; }