private void NewDataRequestBtn_OnClick(object sender, RoutedEventArgs e) { if (InstrumentsGrid.SelectedItem == null) { return; } var window = new HistoricalRequestWindow((Instrument)InstrumentsGrid.SelectedItem); }
private void NewDataRequestBtn_OnClick(object sender, RoutedEventArgs e) { var window = new HistoricalRequestWindow((Instrument)InstrumentsGrid.SelectedItem); }