public RpartSimple(Form parent, Settings set, ResultWindow results, string fileName = null) { InitializeComponent(); this.parent = parent; dialog = folderBrowserDialog1; if (set.mode == INPUTMODE.USER_DEFINED) { dialog = openFileDialog1; label1.Text = "Choose user defined file with profiles"; } this.Location = parent.Location; this.set = set; if (fileName != null) { opt.ReadOptionFile(fileName); SetProfileOptions(); } this.results = results; if (opt.hash.profileName != null) { tree.LoadProfiles(opt.hash.profileName); label9.Text = tree.GetStringActiveProfiles(); } }
public HashSimple(Form parent, Settings set, ResultWindow results, string fileName = null) : base(parent, set, results, fileName) { // InitializeComponent(); this.Text = "Hash"; ShowLabels(); opt.hash.combine = false; }
public ClusteringChoose(Settings set, Form parent) { InitializeComponent(); this.set = set; this.parent = parent; this.results = Rna_Protein_UserDef.results; switch (set.mode) { case INPUTMODE.PROTEIN: this.Text = "Proteins clustering"; break; case INPUTMODE.RNA: this.Text = "Rna clustering"; break; case INPUTMODE.USER_DEFINED: this.Text = "User define profiles clustering"; break; } }
public uQlustTreeSimple(Form parent, Settings set, ResultWindow results, string fileName = null) { InitializeComponent(); distanceControl1.profileInfo = false; distanceControl1.hideReference = true; this.parent = parent; this.Location = parent.Location; dialog = folderBrowserDialog1; if (set.mode == INPUTMODE.USER_DEFINED) { dialog = openFileDialog1; label1.Text = "Choose user defined file with profiles"; } this.set = set; if (fileName != null) { opt.ReadOptionFile(fileName); SetProfileOptions(); } this.results = results; }