protected virtual void OnNewWellSetSelected(WellSelectionEventArgs e) { if (NewWellSetSelected != null) { NewWellSetSelected(this, e); } }
void WellControl_NewWellSetSelected(object sender, EventArgs e) { WellSelectionEventArgs ev = (WellSelectionEventArgs)e; m_wellList.Clear(); foreach (Tuple <int, int> well in ev.WellList) { m_wellList.Add(well); } }
void WellSelection_NewWellSetSelected(object sender, EventArgs e) { WellSelectionEventArgs ev = (WellSelectionEventArgs)e; VM.ExpParams.controlSubtractionWellList.Clear(); foreach (Tuple <int, int> well in ev.WellList) { VM.ExpParams.controlSubtractionWellList.Add(well); } VM.SetExperimentStatus(); }