Utility wizard for basic schematic datasets configuration
Events.cs
// Copyright 2012 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 

// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions at <your ArcGIS install location>/DeveloperKit10.0/userestrictions.txt.

using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;

namespace SchematicCreateBasicSettingsAddIn 
{
    public class ReduceEvents : EventArgs
    {
        private string[] selectedObjects;
        public ReduceEvents(string[] items)
        {
            this.selectedObjects = items;
        }
        public string[] SelectedObjects
        {
            get { return selectedObjects; }
            set { selectedObjects = value; }
        }
    }
    
    public class NameEvents : EventArgs
    {
        private bool blnNewDataset;
        private string strDatasetName;
        private string strTemplateName;
        private bool blnUseVertices;
        private bool blnAutoCreate;
        
        public NameEvents(bool blnNewDataset, string strDatasetName, string strTemplateName, bool blnUseVertices)
        {
            this.blnNewDataset = blnNewDataset;
            this.strDatasetName = strDatasetName;
            this.strTemplateName = strTemplateName;
            this.blnUseVertices = blnUseVertices;
        }

        public bool NewDataset
        {
            get { return blnNewDataset; }
            set { blnNewDataset = value; }
        }
        public string DatasetName
        {
            get { return strDatasetName; }
            set { strDatasetName = value; }
        }
        public string TemplateName
        {
            get { return strTemplateName; }
            set { strTemplateName = value; }
        }
        public bool UseVertices
        {
            get { return blnUseVertices; }
            set { blnUseVertices = value; }
        }
        public bool AutoCreate
        {
            get { return blnAutoCreate; }
            set { blnAutoCreate = value; }
        }
    }

    public class AdvancedEvents : EventArgs
    {
        private string strAlgorithmName;
        private Dictionary<string,string> dicAlgorithmParams;
        private string strRootClass;
        private NameValueCollection fieldsToCreate;

        public AdvancedEvents(string AlgorithmName, Dictionary<string,string> AlgorithmParams,string RootClass,NameValueCollection FieldsToCreate)
        {
            strAlgorithmName = AlgorithmName;
            dicAlgorithmParams = AlgorithmParams;
            strRootClass = RootClass;
            fieldsToCreate = FieldsToCreate;
        }

        public string AlgorithmName
        {
            get { return strAlgorithmName; }
            set { strAlgorithmName = value; }
        }
        public string RootClass
        {
            get { return strRootClass; }
            set { strRootClass = value; }
        }
        public Dictionary<string,string> AlgorithmParams
        {
            get { return dicAlgorithmParams; }
            set { dicAlgorithmParams = value; }
        }
        public NameValueCollection FieldsToCreate
        {
            get { return fieldsToCreate; }
            set { FieldsToCreate = value; }
        }
    }
}