예제 #1
0
 private void ChangeCurrentStyle(Style style)
 {
     Style.CurrentStyle = style;
     stylePropertyGrid.SelectedObject = Style.CurrentStyle;
     StyleModified?.Invoke(this, EventArgs.Empty);
 }
예제 #2
0
 private void stylePropertyGrid_PropertyValueChanged(object s,
                                                     PropertyValueChangedEventArgs e)
 {
     cboStyles.SelectedIndex = -1;
     StyleModified?.Invoke(this, EventArgs.Empty);
 }