private void toolStripButton1_Click(object sender, EventArgs e) { FamiliesForm form = new FamiliesForm(); form.MdiParent = this; form.Show(); }
private void btnWgtBrowse_Click(object sender, EventArgs e) { FamiliesForm familiesForm = new FamiliesForm(); if (familiesForm.ShowDialog() == DialogResult.OK) { Weights = familiesForm.SelectedResource; txtWgtFile.Text = familiesForm.SelectedResource.QualifiedName; } }
public bool ChooseResource(string type, out SNAP.Resources.Resource resource) { FamiliesForm familiesForm = new FamiliesForm(); if (familiesForm.ShowDialog() == DialogResult.OK) { resource = familiesForm.SelectedResource; return(true); } resource = null; return(false); }
public bool ChooseResource( IEnumerable <SNAP.Resources.InternalRefFieldType.Mask> masks, out SNAP.Resources.Resource resource) { FamiliesForm familiesForm; if (masks == null) { familiesForm = new FamiliesForm(); } else { familiesForm = new FamiliesForm(masks); } if (familiesForm.ShowDialog() == DialogResult.OK) { resource = familiesForm.SelectedResource; return(true); } resource = null; return(false); }
public bool ChooseResource(string type, out SNAP.Resources.Resource resource) { FamiliesForm familiesForm = new FamiliesForm(); if (familiesForm.ShowDialog() == DialogResult.OK) { resource = familiesForm.SelectedResource; return true; } resource = null; return false; }
private void btnFamilyBrowse_Click(object sender, EventArgs e) { FamiliesForm familiesForm = new FamiliesForm(); familiesForm.ShowDialog(); }