Exemplo n.º 1
0
 public override void InitializeComponent(string blongJob)
 {
     if (Form.IsDisposed)
     {
         Form = new FormSmartRayAcquisition(this);
     }
     base.InitializeComponent(blongJob);
 }
Exemplo n.º 2
0
        public SmartRayAcquisition()
        {
            Form = new FormSmartRayAcquisition(this);

            var inputInt = new ToolInput("输入整数", this.Name)
            {
                Item = 15
            };

            Input.Add(inputInt);
            var inputImage = new ToolInput("输入图片", this.Name)
            {
                Item = new HImage()
            };

            Input.Add(inputImage);
            var outputImage = new ToolOutput("输出图片", this.Name)
            {
                Item = new HImage()
            };

            Output.Add(outputImage);
        }