Exemplo n.º 1
0
 /*窗体与类启动函数
  *
  */
 public Main()
 {
     InitializeComponent();
     RenderWorkerObject  = new RenderWorker(ref axMapControl);
     statusTipLabel.Text = util.handleSystemError(
         ArcObject.UIToolControlAddItemFix(ref axToolbarControl));
 }
Exemplo n.º 2
0
        public void Start(String configString, Settings settings)
        {
            try {
                mainForm.UpdateControlsForRender();
                mainForm.SetPictureBoxImage(null);

                tempFileName = "temp.txt";

                StreamWriter writer = new StreamWriter(tempFileName);
                writer.Write(configString);
                writer.Close();

                worker = new RenderWorker();
                worker.Start(renderMode, settings, tempFileName, StartRender, EndRender, Progress, Finish, SetPixel);
            } catch {
            }
        }
Exemplo n.º 3
0
        public void Start(String configString, Settings settings)
        {
            try {
                mainForm.UpdateControlsForRender ();
                mainForm.SetPictureBoxImage (null);

                tempFileName = "temp.txt";

                StreamWriter writer = new StreamWriter (tempFileName);
                writer.Write (configString);
                writer.Close ();

                worker = new RenderWorker ();
                worker.Start (renderMode, settings, tempFileName, StartRender, EndRender, Progress, Finish, SetPixel);
            } catch {

            }
        }
Exemplo n.º 4
0
 private void EndRender()
 {
     worker = null;
 }
Exemplo n.º 5
0
 private void EndRender()
 {
     worker = null;
 }