/// <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); } }
/// <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); } }
/// <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; }
/// <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); } }
/// <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; }