Beispiel #1
0
 void control_ElementsChanged(object sender, EventArgs e)
 {
     if (_currentPatchingControl != null)
     {
         _currentPatchingControl.UpdateElementDetails(_currentElementControl.SelectedElements);
     }
 }
Beispiel #2
0
        void control_ElementsChanged(object sender, EventArgs e)
        {
            if (_currentPatchingControl != null)
            {
                _currentPatchingControl.UpdateElementDetails(_currentElementControl.SelectedElements);
            }

            // TODO: this is iffy, should really redo the events for this system
            if (_currentControllersControl != null)
            {
                _currentControllersControl.UpdatePatching();
            }
        }
Beispiel #3
0
        void control_ElementsChanged(object sender, ElementsChangedEventArgs e)
        {
            if (_currentPatchingControl != null)
            {
                _currentPatchingControl.UpdateElementDetails(_currentElementControl.SelectedElements);
            }

            if (e.Action == ElementsChangedEventArgs.ElementsChangedAction.Remove ||
                e.Action == ElementsChangedEventArgs.ElementsChangedAction.Edit)
            {
                // TODO: this is iffy, should really redo the events for this system
                // TODO: The above should help a little with the iffiness of this, but I still question the brute force nature of this
                _currentControllersControl?.UpdatePatching();
            }
        }