|
|
|
@ -173,7 +173,18 @@ namespace ICSharpCode.SharpDevelop.Dom.ClassBrowser |
|
|
|
okButton.IsEnabled = listView.SelectedItems.Count > 0; |
|
|
|
okButton.IsEnabled = listView.SelectedItems.Count > 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ListView_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
// Double click in list = click on OK button
|
|
|
|
|
|
|
|
ConfirmCurrentSelection(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void OKButton_Click(object sender, RoutedEventArgs e) |
|
|
|
void OKButton_Click(object sender, RoutedEventArgs e) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ConfirmCurrentSelection(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ConfirmCurrentSelection() |
|
|
|
{ |
|
|
|
{ |
|
|
|
this.DialogResult = true; |
|
|
|
this.DialogResult = true; |
|
|
|
Close(); |
|
|
|
Close(); |
|
|
|
|