示例#1
0
 private void miShowDependencies_Click(object sender, EventArgs e)
 {
     if ((selectedRuleListView != null) &&
         (selectedRuleListView.ListView.SelectedItems.Count > 0))
     {
         IdpeRule         rule             = selectedRuleListView.ListView.SelectedItems[0].Tag as IdpeRule;
         RuleDependencies ruleDependencies = new RuleDependencies(rule.Id);
         ruleDependencies.ShowDialog();
     }
 }
示例#2
0
文件: Rules.cs 项目: eyedia/idpe
 private void showDependenciesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if ((listView != null) &&
         (listView.SelectedItems.Count > 0))
     {
         IdpeRule         rule             = listView.SelectedItems[0].Tag as IdpeRule;
         RuleDependencies ruleDependencies = new RuleDependencies(rule.Id);
         ruleDependencies.ShowDialog();
     }
 }