Пример #1
0
        public OptionsDialog(BrushOptions options)
        {
            InitializeComponent();

            this.DataContext = this;
            m_options        = options;
        }
Пример #2
0
 public static Brush Default()
 {
     return(new Brush()
     {
         Name = Constants.NewBrushName,
         Trees = new List <Tree>(),
         Options = BrushOptions.Default()
     });
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MapObjectInspectorToolForm"/> class.
 /// </summary>
 public MapObjectInspectorToolForm(TileControl tileControl, BrushOptions brushOptions)
 {
     InitializeComponent();
     mapObjectInspector1.TileControl  = tileControl;
     mapObjectInspector1.BrushOptions = brushOptions;
 }