public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode dataSourceUpdateMode, object nullValue, string formatString, IFormatProvider formatInfo) { this.propertyName = ""; this.formatString = string.Empty; this.dsNullValue = Formatter.GetDefaultDataSourceNullValue(null); this.bindToObject = new System.Windows.Forms.BindToObject(this, dataSource, dataMember); this.propertyName = propertyName; this.formattingEnabled = formattingEnabled; this.formatString = formatString; this.nullValue = nullValue; this.formatInfo = formatInfo; this.formattingEnabled = formattingEnabled; this.dataSourceUpdateMode = dataSourceUpdateMode; this.CheckBinding(); }
public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode dataSourceUpdateMode, object nullValue, string formatString, IFormatProvider formatInfo) { this.propertyName = ""; this.formatString = string.Empty; this.dsNullValue = Formatter.GetDefaultDataSourceNullValue(null); this.bindToObject = new System.Windows.Forms.BindToObject(this, dataSource, dataMember); this.propertyName = propertyName; this.formattingEnabled = formattingEnabled; this.formatString = formatString; this.nullValue = nullValue; this.formatInfo = formatInfo; this.formattingEnabled = formattingEnabled; this.dataSourceUpdateMode = dataSourceUpdateMode; this.CheckBinding(); }
public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode dataSourceUpdateMode, object nullValue, string formatString) : this(propertyName, dataSource, dataMember, formattingEnabled, dataSourceUpdateMode, nullValue, formatString, null) { }