private void referencesToolStripMenuItem_Click(object sender, EventArgs e) { AddReference adref = new AddReference(); if (adref.ShowDialog() == DialogResult.OK) { } }
private void menuReferences_Click(object sender, RoutedEventArgs e) { AddReference adref = new AddReference(); if (adref.ShowDialog() == true) { } }