本文整理匯總了C#中CollectionChangeEventHandler類的典型用法代碼示例。如果您正苦於以下問題:C# CollectionChangeEventHandler類的具體用法?C# CollectionChangeEventHandler怎麽用?C# CollectionChangeEventHandler使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
CollectionChangeEventHandler類屬於命名空間,在下文中一共展示了CollectionChangeEventHandler類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: QuestionSelectionModeData
public QuestionSelectionModeData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例2: Map_Info_Tables
public Map_Info_Tables()
{
InitClass();
CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(SchemaChanged);
Tables.CollectionChanged += schemaChangedHandler;
Relations.CollectionChanged += schemaChangedHandler;
}
示例3: VoterStatisticsData
public VoterStatisticsData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例4: NSurveyQuestion
public NSurveyQuestion()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例5: RegularExpressionData
public RegularExpressionData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例6: SurveyEntryQuotaData
public SurveyEntryQuotaData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例7: Map_Features_DataSet
protected Map_Features_DataSet(SerializationInfo info, StreamingContext context) {
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
if ((ds.Tables["Features"] != null)) {
Tables.Add(new FeaturesDataTable(ds.Tables["Features"]));
}
if ((ds.Tables["Types"] != null)) {
Tables.Add(new TypesDataTable(ds.Tables["Types"]));
}
DataSetName = ds.DataSetName;
Prefix = ds.Prefix;
Namespace = ds.Namespace;
Locale = ds.Locale;
CaseSensitive = ds.CaseSensitive;
EnforceConstraints = ds.EnforceConstraints;
Merge(ds, false, MissingSchemaAction.Add);
InitVars();
}
else {
InitClass();
}
GetSerializationData(info, context);
CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(SchemaChanged);
Tables.CollectionChanged += schemaChangedHandler;
Relations.CollectionChanged += schemaChangedHandler;
}
示例8: WebSecurityAddInData
public WebSecurityAddInData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例9: MessageConditionData
public MessageConditionData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例10: dsItem
protected dsItem(SerializationInfo info, StreamingContext context)
{
string s = (string) info.GetValue("XmlSchema", typeof(string));
if (s != null)
{
DataSet dataSet = new DataSet();
dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
if (dataSet.Tables["Item"] != null)
{
base.Tables.Add(new _ItemDataTable(dataSet.Tables["Item"]));
}
base.DataSetName = dataSet.DataSetName;
base.Prefix = dataSet.Prefix;
base.Namespace = dataSet.Namespace;
base.Locale = dataSet.Locale;
base.CaseSensitive = dataSet.CaseSensitive;
base.EnforceConstraints = dataSet.EnforceConstraints;
base.Merge(dataSet, false, MissingSchemaAction.Add);
this.InitVars();
}
else
{
this.InitClass();
}
base.GetSerializationData(info, context);
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例11: datasourceDataSet
protected datasourceDataSet(SerializationInfo info, StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
CollectionChangeEventHandler schemaChangedHandler1 = new CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
}
this.GetSerializationData(info, context);
CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
示例12: CSVExportData
public CSVExportData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例13: UnAuthentifiedUserActionData
public UnAuthentifiedUserActionData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例14: dsDepartment
public dsDepartment()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例15: ApplicationInfoDS
public ApplicationInfoDS()
{
base.BeginInit();
this.InitClass();
CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += value;
base.Relations.CollectionChanged += value;
base.EndInit();
}