public override void SetFileArgument(string key, IFileArgument fileArgument) { if (this.singleMode != null) { this.singleMode.RemoveClickEvent(); RemoveComponent(this.singleMode); } this.singleMode = new RcpaFileField(this.btnSingle, this.txtSingle, key, fileArgument, true); AddComponent(this.singleMode); }
private void GenerateField() { if (null != _field) { _field.RemoveClickEvent(); } if (null != FileArgument) { _field = new RcpaFileField(btnOpen, txtFile, Key, FileArgument, Required); } }
public MicroarrayDataSummaryBuilderUI() { InitializeComponent(); base.SetDirectoryArgument("DataDirectory", "Microarray Level3 Data Root"); this.itraqFile = new RcpaFileField(btnDatabase, txtDatabase, "SdrfFile", new OpenFileArgument("Metadata Sdrf", "sdrf.txt"), true); AddComponent(this.itraqFile); this.targetFile = new SaveFileArgument("Result", "tsv"); this.Text = Constants.GetSQHTitle(title, version); }