public FormDeliveryMgr_SeleFiles(FormDeliveryManager sourceForm, List <string> selectedFiles, List <string> allFiles) { InitializeComponent(); this.selectedFiles = selectedFiles; this.allFiles = allFiles; this.sourceForm = sourceForm; chkListFiles.CheckOnClick = true; chkAll.Checked = true; }
private FormMdiChildBase OpenMDIChildForm(string formName) { FormMdiChildBase frm = null; switch (formName) { case "deliveryManagerToolStripMenuItem": if (!Directory.Exists(ConfigurationManager.AppSettings["ParammeterFilesFolder"])) { MainStatusStrip.Text = string.Format( "Parameter Editor need the system directory {0}. This directory is defined at config file", ConfigurationManager.AppSettings["ParammeterFilesFolder"]); } frm = new FormDeliveryManager(); break; case "s3MonitorToolStripMenuItem": frm = new FormS3Monitor(); break; case "systemManagerToolStripMenuItem": frm = new FormSystemManager(); break; case "greenBlueDeploymentToolStripMenuItem": frm = new FormDeploymentSwitch(); break; case "viewLogsToolStripMenuItem": frm = new FormLogs(); break; case "infrastructureManagerToolStripMenuItem": frm = new FormInfraManager(); break; } return(frm); }