Beispiel #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();
     }
 }
Beispiel #2
0
 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();
     }
 }