當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。