Пример #1
0
 private void GradientContainerSelectedMarkerChanged(object sender, MarkerEventArgs e)
 {
     tbHexColor.Text = e.Marker.Color.ToArgb().ToString("X8");
     previousHexColor = tbHexColor.Text;
     RefreshLabels(e.Marker.Offset);
     if (e.Marker.Offset == 0f || e.Marker.Offset == 1f)
     {
         cmdDel.Enabled = false;
         return;
     }
     cmdDel.Enabled = true;
 }
Пример #2
0
 private void GradientContainerOffsetChanging(object sender, MarkerEventArgs e)
 {
     RefreshLabels(e.Marker.Offset);
 }
Пример #3
0
 private void GradientContainerOffsetChanged(object sender, MarkerEventArgs e)
 {
     OnSelectedMarkerOffsetChanged(e);
 }
Пример #4
0
 protected void OnSelectedMarkerOffsetChanged(MarkerEventArgs e)
 {
     MarkerEventHandler handler = SelectedMarkerOffsetChanged;
     if (handler != null) handler(this, e);
 }
Пример #5
0
 private void GradientBuilderSelectedMarkerOffsetChanged(object sender, MarkerEventArgs e)
 {
     UpdateGradient();
 }
Пример #6
0
 protected void OnOffsetChanging(MarkerEventArgs e)
 {
     MarkerEventHandler handler = OffsetChanging;
     if (handler != null) handler(this, e);
 }