• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Epi类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Epi的典型用法代码示例。如果您正苦于以下问题:C# Epi类的具体用法?C# Epi怎么用?C# Epi使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Epi类属于命名空间,在下文中一共展示了Epi类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: UpgradeProblemDisplayDialog

 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="pSourceProject">The Epi Info 2000 project to check</param>
 public UpgradeProblemDisplayDialog(Epi.Epi2000.Project pSourceProject)
 {
     InitializeComponent();
     lvProblems.Items.Clear();
     sourceProject = pSourceProject;
     this.errorList = new ImportExportErrorList();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:11,代码来源:UpgradeProblemDisplayDialog.cs


示例2: RunTimeView

        public RunTimeView(IEnterInterpreterHost pEnterClientInterface, Epi.View pView, int pParentRecordId, string pParentGlobalRecordId, IScope pScope = null)
        {
            // to do set the enter interpreter
            // application domain.
            Assembly a = Assembly.Load(pView.Project.EnterMakeviewIntepreter);
            // Get the type to use.
            Type myType = a.GetType(pView.Project.EnterMakeviewIntepreter + ".EpiInterpreterParser");

            // Create an instance.
            if (pScope == null)
            {
                this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface });
            }
            else
            {
                this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface, pScope });
            }
            this.mEpiInterpreter.Context.Scope.Name = pView.Name;
            this.mEpiInterpreter.Host = pEnterClientInterface;

            this.EnterClientInterface = pEnterClientInterface;
            this.AfterStack = new Stack<KeyValuePair<EventActionEnum, StackCommand>>();
            this.parentViewRecordId = pParentRecordId;
            this.parentViewGlobalRecordId = pParentGlobalRecordId;
            this.RecordNumberMap = new Dictionary<int, int>();
            this.mView = pView;
            this.mView.ForeignKeyField.CurrentRecordValueString = this.ParentGlobalRecordId;
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:28,代码来源:RunTimeView.cs


示例3: ReadDialog

        /// <summary>
        /// Constructor for Read dialog
        /// </summary>
        public ReadDialog(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
            : base(frm)
        {
            InitializeComponent();
            Construct();
            SourceProjectNames = new Hashtable();

            if (frm.projectExplorer != null)
            {
                if (frm.projectExplorer.currentPage != null)
                {
                    this.sourceProject = frm.projectExplorer.currentPage.view.Project;
                    this.selectedProject = this.sourceProject;
                    this.selectedDataSource = this.selectedProject;
                    //--EI-48
                    //Adds datatable names to viewlist to enable other tables in project
                    List<string> SourceViewnames = this.sourceProject.GetViewNames();
                    SourceNonViewnames = this.sourceProject.GetNonViewTableNames();
                    foreach(string str in SourceViewnames)
                    {
                        View MView = this.sourceProject.GetViewByName(str);
                        DataTable ViewPages = MView.GetMetadata().GetPagesForView(MView.Id);
                        foreach(DataRow dt in ViewPages.Rows)
                        {
                            string ViewdataTable = MView.TableName + dt[ColumnNames.PAGE_ID];
                            Sourcedatatables.Add(ViewdataTable);
                        }
                        if (SourceNonViewnames.Contains(str)) { SourceNonViewnames.Remove(str); }
                    }
                    foreach(string str in Sourcedatatables)
                    {
                        SourceViewnames.Add(str);
                        if (SourceNonViewnames.Contains(str)) { SourceNonViewnames.Remove(str);}
                    }

                   //--

                    foreach (string s in this.sourceProject.GetNonViewTableNames())
                    {
                        string key = s.ToUpper().Trim();
                        if (!SourceProjectNames.Contains(key))
                        {
                           if (SourceViewnames.Contains(s))
                             {
                                SourceProjectNames.Add(key, true);
                             }
                        }
                    }
                    foreach (string s in this.sourceProject.GetViewNames())
                    {
                        string key = s.ToUpper().Trim();
                        if (!SourceProjectNames.Contains(key))
                        {
                            SourceProjectNames.Add(key, true);
                        }
                    }

                }
            }
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:63,代码来源:ReadDialog.cs


示例4: DefineUserCommandDialog

 /// <summary>
 /// Constructor for dialog
 /// </summary>
 /// <param name="frm"></param>
 public DefineUserCommandDialog(Epi.Windows.Analysis.Forms.AnalysisMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     construct();
     CheckForInputSufficiency();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:11,代码来源:DefineUserCommandDialog.cs


示例5: ReadDataSourceDialog

 /// <summary>
 /// Constructor for Read dialog
 /// </summary>
 public ReadDataSourceDialog(Epi.Windows.Analysis.Forms.AnalysisMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     Construct();
     this.EpiInterpreter = frm.EpiInterpreter;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:10,代码来源:ReadDataSourceDialog.cs


示例6: DialogDialog

 /// <summary>
 /// Constructor for Dialog dialog
 /// </summary>
 /// <param name="frm">The main form</param>
 public DialogDialog(Epi.Windows.Analysis.Forms.AnalysisMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     mainForm = frm;
     Construct();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:11,代码来源:DialogDialog.cs


示例7: DialogDialog

 /// <summary>
 /// Constructor for Dialog dialog
 /// </summary>
 /// <param name="frm">The main form</param>
 public DialogDialog(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     mainForm = frm;
     Construct();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:11,代码来源:DialogDialog.cs


示例8: IfDialog

 /// <summary>
 /// Constructor for If Dialog
 /// </summary>
 /// <param name="frm"></param>
 public IfDialog(Epi.Windows.Analysis.Forms.AnalysisMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     Construct();
     amf = frm;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:11,代码来源:IfDialog.cs


示例9: CheckSourceProjectForProblems

 private void CheckSourceProjectForProblems(Epi.Epi2000.Project sourceProject)
 {
     Epi.ImportExport.Epi2000.ProjectAnalyzer projectAnalyzer = new Epi.ImportExport.Epi2000.ProjectAnalyzer(sourceProject);
     projectAnalyzer.SetStatus += new UpdateStatusEventHandler(projectAnalyzer_SetStatus);
     projectAnalyzer.Analyze();
     this.errorList = projectAnalyzer.ErrorList;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:7,代码来源:UpgradeProblemDisplayDialog.cs


示例10: ReadDialog

        /// <summary>
        /// Constructor for Read dialog
        /// </summary>
        public ReadDialog(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
            : base(frm)
        {
            InitializeComponent();
            Construct();
            SourceProjectNames = new Hashtable();

            if (frm.projectExplorer != null)
            {
                if (frm.projectExplorer.currentPage != null)
                {
                    this.sourceProject = frm.projectExplorer.currentPage.view.Project;
                    this.selectedProject = this.sourceProject;
                    this.selectedDataSource = this.selectedProject;

                    foreach (string s in this.sourceProject.GetNonViewTableNames())
                    {
                        string key = s.ToUpper().Trim();
                        if (!SourceProjectNames.Contains(key))
                        {
                            SourceProjectNames.Add(key, true);
                        }
                    }
                    foreach (string s in this.sourceProject.GetViewNames())
                    {
                        string key = s.ToUpper().Trim();
                        if (!SourceProjectNames.Contains(key))
                        {
                            SourceProjectNames.Add(key, true);
                        }
                    }

                }
            }
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:38,代码来源:ReadDialog.cs


示例11: RepublishSurveyFields

        public RepublishSurveyFields(string pOrganizationKey, Epi.View pView, string pTemplate)
        {
            InitializeComponent();

            this.OrganizationKey = pOrganizationKey;
            this.view = pView;
            this.template = pTemplate;
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:8,代码来源:RepublishSurveyFields.cs


示例12: LayerList

 public LayerList(ESRI.ArcGIS.Client.Map myMap, Epi.View view, Epi.Data.IDbDriver db, DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.myMap = myMap;
     this.view = view;
     this.db = db;
     this.dashboardHelper = dashboardHelper;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:8,代码来源:LayerList.xaml.cs


示例13: RunSavedPGMDialog

 /// <summary>
 /// Constructor for dialog
 /// </summary>
 /// <param name="frm"></param>
 public RunSavedPGMDialog(Epi.Windows.Analysis.Forms.AnalysisMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     construct();
     LoadPGMList();
     CheckForInputSufficiency();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:12,代码来源:RunSavedPGMDialog.cs


示例14: RelateFieldDefinition

 /// <summary>
 /// Constructor for the Relate Field Definition
 /// </summary>
 /// <param name="frm">The main form</param>
 /// <param name="page">The page</param>
 public RelateFieldDefinition(Epi.Windows.MakeView.Forms.MakeViewMainForm frm, Page page)
     : base(frm)
 {
     InitializeComponent();
     this.memoryRegion = frm.EpiInterpreter;
     this.mode = FormMode.Create;
     this.page = page;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:13,代码来源:RelateFieldDefinition.cs


示例15: EditorToolWindow

 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="frm">The main form</param>
 public EditorToolWindow(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     declaredVariables = new Collection<string>();
     this.txtTextArea.AcceptsTab = true;
     this.memoryRegion = frm.EpiInterpreter;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:12,代码来源:EditorToolWindow.cs


示例16: SocialNetworkGraph

 public SocialNetworkGraph(Epi.View view, Epi.Data.IDbDriver db)
 {
     InitializeComponent();
     this.db = db;
     this.view = view;
     this.Loaded += new RoutedEventHandler(SocialNetworkGraph_Loaded);
     grdMain.SizeChanged += new SizeChangedEventHandler(grdMain_SizeChanged);
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:8,代码来源:SocialNetworkGraph.xaml.cs


示例17: TableToViewDialog

        /// <summary>
        /// TableToViewDialog
        /// </summary>
        /// <param name="pTableName">table name</param>
        /// <param name="pViewName">view name</param>
        /// <param name="pDbDriver">IDBDriver</param>
        /// <param name="pColumnMapping">Column mapping scheme</param>
        public TableToViewDialog(string pTableName, string pViewName, Epi.Data.IDbDriver pDbDriver, Dictionary<string, string> pColumnMapping)
        {
            InitializeComponent();

            TableName = pTableName;
            ViewName = pViewName;
            DbDriver = pDbDriver;
            columnMapping = pColumnMapping;
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:16,代码来源:TableToViewDialog.cs


示例18: CoxPHGraphOptionsDialog

 /// <summary>
 /// CoxPHGraphOptionsDialog constructor
 /// </summary>
 /// <param name="frm"></param>
 public CoxPHGraphOptionsDialog(Epi.Windows.Analysis.Forms.AnalysisMainForm frm, List<string> lstGraphVariables, string txtGraph, bool bolCustGraph)
     : base(frm)
 {
     InitializeComponent();
     lstGraphVars = lstGraphVariables;
     txtGraphType = txtGraph;
     bolCustomizeGraph = bolCustGraph;
     Construct();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:13,代码来源:CoxPHGraphOptionsDialog.cs


示例19: DefineVariableDialog

 /// <summary>
 /// Oveloaded constructor for DefineVariableDialog which
 /// </summary>
 /// <param name="frm">The main form</param>
 /// <param name="showSave">Boolean to denote whether to show the Save Only button on the dialog</param>
 public DefineVariableDialog(Epi.Windows.MakeView.Forms.MakeViewMainForm frm, bool showSave)
     : base(frm)
 {
     InitializeComponent();
     if (showSave)
     {
         showSaveOnly = true;
         this.btnSaveOnly.Click += new System.EventHandler(this.btnSaveOnly_Click);
     }
     Construct();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:16,代码来源:DefineVariableDialog.cs


示例20: QuitDialog

 /// <summary>
 /// Constructor for QuitDialog. if showSave is true btnShowSaveOnly is enabled during form load.
 /// </summary>
 /// <param name="frm">The main form</param>
 /// <param name="showSave">Boolean to denote whether to display the Show Only button on the dialog</param>
 public QuitDialog(Epi.Windows.MakeView.Forms.MakeViewMainForm frm, bool showSave)
     : base(frm)
 {
     InitializeComponent();
     showSaveOnly = showSave;
     if (showSaveOnly)
     {
         this.btnSaveOnly.Click += new System.EventHandler(this.btnSaveOnly_Click);
     }
     Construct();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:16,代码来源:QuitDialog.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Data.MisGuidRow类代码示例发布时间:2022-05-24
下一篇:
C# EnvironmentVariableTarget类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap