private void lvIndicators_HyperlinkClicked(object sender, BrightIdeasSoftware.HyperlinkClickedEventArgs e) { e.Handled = true; IndicatorAdd modal = new IndicatorAdd(viewModel.Indicators.Values, (Indicator)e.Model); modal.OnSave += edit_OnSave; modal.ShowDialog(); }
private void fieldLink1_OnClick() { IndicatorAdd modal = new IndicatorAdd(viewModel.Indicators.Values); modal.OnSave += add_OnSave; modal.ShowDialog(); }