Exemplo n.º 1
0
 public PrintHelper(ItopVectorControl tc, Itop.MapView.IMapViewObj map)
 {
     //int chose = Convert.ToInt32(ConfigurationSettings.AppSettings.Get("chose"));
     //if (chose == 1)
     //{ map = new Itop.MapView.MapViewObj(); }
     //else if (chose == 2)
     //{ map = new Itop.MapView.MapViewObj2(); }
     tlVectorControl1 = tc;
     mapview = map;
     pdoc = new PrintDocument();
     pdoc.PrintPage += new PrintPageEventHandler(pdoc_PrintPage);
     pageSetting = pdoc.PrinterSettings.DefaultPageSettings;
 }
Exemplo n.º 2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="tlVectCtrl"></param>
        public XLTProcessor(ItopVectorControl tlVectCtrl)
        {
            if (tlVectCtrl == null)
            {
                throw new Exception("null ItopVectorControl!");
            }
            xltVectorCtrl = tlVectCtrl;

            SetSymbolID();

            BindEvents();

            timer = new Timer();
            timer.Interval = 1000;
            //timer.Start();
            timer.Tick += new EventHandler(timer_Tick);
        }
Exemplo n.º 3
0
 public ImportJxt2(ItopVectorControl vc)
 {
     tlVectorControl1 = vc;
 }
Exemplo n.º 4
0
 public ImportJxt2(ItopVectorControl vc)
 {
     tlVectorControl1 = vc;
 }
Exemplo n.º 5
0
        public void AeriaView(ItopVectorControl tlVector)
        {
            if (isOpen == 1)
            {
                dialog1.Activate();
                return;
            }
            try
            {
                dialog1 = new AerialView(this.drawArea1,tlVector);
                dialog1.loadData += new AerialView.loadDateDelegate(this.ReDraw);
                dialog1.Owner = this.ParentForm;
                dialog1.Show();
                isOpen = 1;

                dialog1.Top = Screen.PrimaryScreen.WorkingArea.Height - 380;
                dialog1.Left = Screen.PrimaryScreen.WorkingArea.Width - 300;
            }
            catch (Exception exception1)
            {
                MessageBox.Show(exception1.Message);
            }
        }
Exemplo n.º 6
0
 public void InitData(ItopVectorControl vector)
 {
     miniatureView1.VectorControl = vector;
 }