Beispiel #1
0
 private void OnPieceSettingsDialogFormClosing(object sender, FormClosingEventArgs e)
 {
     if (!_applied)
     {
         SerializedInfo.Instance.Gradient = _initialGradient;
         PieceSettingAltered?.Invoke();
     }
     else
     {
         _applied = false;
     }
 }
Beispiel #2
0
 private void OnCheckBoxGradientCheckedChanged(object sender, EventArgs e)
 {
     SerializedInfo.Instance.Gradient = _checkBoxGradient.Checked;
     PieceSettingAltered?.Invoke();
 }