public OptionsDialog(BrushOptions options) { InitializeComponent(); this.DataContext = this; m_options = options; }
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; }