Пример #1
0
        private void ChangeBrush(ITileBrush brush)
        {
            currentBrush = brush;
            BrushChangedEventArgs args = new BrushChangedEventArgs(brush);

            if (BrushChanged != null)
            {
                BrushChanged(args);
            }
        }
Пример #2
0
 private void brushForm_BrushChanged(BrushChangedEventArgs e)
 {
     CurrentBrush = e.Brush;
     AssembleTool();
 }
Пример #3
0
 private void ChangeBrush(ITileBrush brush)
 {
     currentBrush = brush;
     BrushChangedEventArgs args = new BrushChangedEventArgs(brush);
     if (BrushChanged != null) BrushChanged(args);
 }
Пример #4
0
 private void brushForm_BrushChanged(BrushChangedEventArgs e)
 {
     CurrentBrush = e.Brush;
     AssembleTool();
 }