Ejemplo n.º 1
0
        public FormMain(string[] args)
        {
            InitializeComponent();

            if (args.Length > 0)
            {
                imageWindow = new FormDockImageWindow();
                HDevWindowStack.Push(imageWindow.Window.HalconWindow);
                processBar = new FormDockProcessBar(args[0]);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 创建DockContext
        /// </summary>
        private void CreateContents()
        {
            if (processBar == null)
            {
                imageWindow = new FormDockImageWindow();
                HDevWindowStack.Push(imageWindow.Window.HalconWindow);
                processBar = new FormDockProcessBar();
            }

            toolBox = new FormDockToolBox(this);
        }
 public FormProcessBarNew(FormDockProcessBar processBar)
 {
     this.processBar = processBar;
     InitializeComponent();
 }
 public FormProcessBarSet(FormDockProcessBar processBar)
 {
     InitializeComponent();
     this.processBar = processBar;
 }