public override Control GetEditor() { var editor = new IdTagEditor(); editor.IdType.DataBindings.Add("Text", this, "TypeString", true, DataSourceUpdateMode.OnPropertyChanged); editor.IdGuid.DataBindings.Add("Text", this, "GuidString", true, DataSourceUpdateMode.OnPropertyChanged); return(editor); }
private static Control GetEditor(this IdTag @this) { var editor = new IdTagEditor(); editor.IdType.DataBindings.Add("Text", @this, "TypeString", true, DataSourceUpdateMode.OnPropertyChanged); editor.IdGuid.DataBindings.Add("Text", @this, "GuidString", true, DataSourceUpdateMode.OnPropertyChanged); return(editor); }