public override void InitializeComponent(string blongJob) { if (Form.IsDisposed) { Form = new FormPositioning(this); } base.InitializeComponent(blongJob); }
public Positioning() { Form = new FormPositioning(this); var inputImage = new ToolInput("输入图片", this.Name) { Item = new HImage() }; Input.Add(inputImage); var outputImage = new ToolOutput("输出图片", this.Name) { Item = new HImage() }; Output.Add(outputImage); }