private void btnEdit_Click(object sender, EventArgs e) { NewRunnerView newRunnerView = new NewRunnerView(RunnerViewModel, gridRunners.CurrentRow.Index); newRunnerView.ShowDialog(); }
private void btnNew_Click(object sender, EventArgs e) { NewRunnerView newRunnerView = new NewRunnerView(RunnerViewModel); newRunnerView.ShowDialog(); }