コード例 #1
0
        //private bool isPrePrintedStationary;

        public GenericLetterWizard(OfficeDocument document)
        {
            InitializeComponent();
            tbcWizardScreens.SelectedIndexChanged += tbcWizardScreens_SelectedIndexChanged;

            _wizardPresenter         = new GenericLetterWizardPresenter(document, this);
            base.BaseWizardPresenter = _wizardPresenter;

            txtClientName.Validating += ClientNameValidating;
        }
コード例 #2
0
        public GenericLetterWizard(OfficeDocument document)
        {
            InitializeComponent();
            tbcWizardScreens.SelectedIndexChanged += tbcWizardScreens_SelectedIndexChanged;

            _wizardPresenter    = new GenericLetterWizardPresenter(document, this);
            BaseWizardPresenter = _wizardPresenter;

            txtClientName.Validating += ClientNameValidating;

            //ShouldUpdateTemplate(Settings.Default.TemplateLibraryName, "Generic Letter.docx");
        }