コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public Form Window(WizardType type)
        {
            switch (type)
            {
            case WizardType.Import:
                return(new MW002_ImportEmployee());

            default:
                return(null);
            }
        }
コード例 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public Form Window(WizardType type)
        {
            switch (type)
            {
            case WizardType.Import:
                return(new MW001_ImportSubdepo());

            default:
                return(null);
            }
        }
コード例 #3
0
        /// <summary>
        /// The primary constructor
        /// </summary>
        /// <param name="logger">An instance of the logger object</param>
        public WebTemplateGenerator(ILogger logger, WizardType wizardType = WizardType.SolutionWizard)
        {
            _Logger     = logger;
            _WizardType = wizardType;

            // This property will be set to true when we are processing
            // the Areas\ModuleID\ folder.
            // For example: Areas\TU\
            // Some special processing is necessary when processing this folder
            ProcessingAreasVendorFolder = false;
        }
コード例 #4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public Form Window(WizardType type)
        {
            switch (type)
            {
            case WizardType.Import:
                return(new MW004_ImportOutlet());

            default:
                return(null);
            }
        }
コード例 #5
0
        /// <summary>
        ///
        /// </summary>
        public Z0002_WizardWindow(WizardType type)
        {
            InitializeComponent();
            Type = type;
            switch (Type)
            {
            case WizardType.Import:
                Text = Program.Handler.Resources.GetString("Import_Data").Replace("&", string.Empty);
                break;

            case WizardType.Export:
                Text = Program.Handler.Resources.GetString("Export_Data").Replace("&", string.Empty);
                break;
            }

            txtSearch.WaterMark   = string.Format(Program.Handler.Resources.GetString("Search_Item"), string.Empty);
            cmbSort.SelectedIndex = 0;
        }