示例#1
0
        public MultiTableTextOpenVizardForm()
        {
            InitializeComponent();
            FinalStepText           = "执行";
            HeaderMarkersWizardPage = new StringWizardPage();
            HeaderMarkersWizardPage.Init("头部标记符号", "#", "按行输入分隔符,一行一个", true);


            StringWizardPage = new StringWizardPage();
            StringWizardPage.Init("分隔符号", ",\r\n\t\r\n;", "按行输入分隔符,一行一个", true);

            FileOpenWizardPage = new FileOpenWizardPage();
            FileOpenWizardPage.Init("打开文件", Setting.TextTableFileFilter);

            CheckboxWizardPage = new Geo.Winform.Wizards.CheckboxWizardPage();
            CheckboxWizardPage.Init <AioFileOpenType>("文件打开动作");

            //ProgressBarWizardPage.Init("执行进度", 1);
            int index       = 1;
            var WizardPages = new WizardPageCollection();

            WizardPages.Add(index++, HeaderMarkersWizardPage);
            WizardPages.Add(index++, StringWizardPage);
            WizardPages.Add(index++, FileOpenWizardPage);
            WizardPages.Add(index++, CheckboxWizardPage);


            this.Init(WizardPages);
        }
示例#2
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public TableTextOpenVizardForm()
        {
            InitializeComponent();
            FinalStepText    = "执行";
            StringWizardPage = new StringWizardPage();
            StringWizardPage.Init("分隔符号", ",\r\n\t\r\n;", "按行输入分隔符,一行一个", true);

            FileOpenWizardPage = new FileOpenWizardPage();
            FileOpenWizardPage.Init("打开文件", Setting.TextTableFileFilter);

            //ProgressBarWizardPage.Init("执行进度", 1);

            var WizardPages = new WizardPageCollection();

            WizardPages.Add(1, StringWizardPage);
            WizardPages.Add(2, FileOpenWizardPage);


            this.Init(WizardPages);
        }