当前位置: 首页>>代码示例>>C#>>正文


C# CollectionChangeEventHandler类代码示例

本文整理汇总了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;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:QuestionSelectionModeData.cs

示例2: Map_Info_Tables

 public Map_Info_Tables()
 {
     InitClass();
     CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(SchemaChanged);
     Tables.CollectionChanged += schemaChangedHandler;
     Relations.CollectionChanged += schemaChangedHandler;
 }
开发者ID:randomyed,项目名称:SobekCM-Web-Application,代码行数:7,代码来源:Map_Info_Tables.cs

示例3: VoterStatisticsData

 public VoterStatisticsData()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:VoterStatisticsData.cs

示例4: NSurveyQuestion

 public NSurveyQuestion()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:NSurveyQuestion.cs

示例5: RegularExpressionData

 public RegularExpressionData()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:RegularExpressionData.cs

示例6: SurveyEntryQuotaData

 public SurveyEntryQuotaData()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:SurveyEntryQuotaData.cs

示例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;
 }
开发者ID:Elkolt,项目名称:SobekCM-Web-Application,代码行数:28,代码来源:Map_Features_DataSet.cs

示例8: WebSecurityAddInData

 public WebSecurityAddInData()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:WebSecurityAddInData.cs

示例9: MessageConditionData

 public MessageConditionData()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:MessageConditionData.cs

示例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;
 }
开发者ID:Xakkep,项目名称:GardenCottage,代码行数:29,代码来源:dsItem.cs

示例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;
 }
开发者ID:BrannJoly,项目名称:NestedMapper,代码行数:30,代码来源:datasourceDataSet.Designer.cs

示例12: CSVExportData

 public CSVExportData()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:CSVExportData.cs

示例13: UnAuthentifiedUserActionData

 public UnAuthentifiedUserActionData()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:ChrisNelsonPE,项目名称:surveyproject_main_public,代码行数:7,代码来源:UnAuthentifiedUserActionData.cs

示例14: dsDepartment

 public dsDepartment()
 {
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
 }
开发者ID:Xakkep,项目名称:GardenCottage,代码行数:7,代码来源:dsDepartment.cs

示例15: ApplicationInfoDS

 public ApplicationInfoDS()
 {
     base.BeginInit();
     this.InitClass();
     CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += value;
     base.Relations.CollectionChanged += value;
     base.EndInit();
 }
开发者ID:Padungsak,项目名称:efinTradePlus,代码行数:9,代码来源:ApplicationInfoDS.cs


注:本文中的CollectionChangeEventHandler类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。