示例#1
0
 public static IBranch SelectBranch(ScenarioDepot scenario, IBranch initialSelection, IBranch formulaBeingEdited)
 {
     var browser = new ScenarionBrowser(BrowserMode.SelectBranch, scenario, initialSelection, formulaBeingEdited);
     return browser.ShowDialog() == DialogResult.OK ? browser.SelectedEntity : null;
 }
示例#2
0
 public static IBranch SelectNode(ScenarioDepot scenario, IBranch initialSelection)
 {
     var browser = new ScenarionBrowser(BrowserMode.SelectNode, scenario, initialSelection, null);
     return browser.ShowDialog() == DialogResult.OK ? browser.SelectedEntity : null;
 }