private void Form_Results_Load(object sender, EventArgs e) { // populate textbox with results if (!TextNotesForm.itemExceptList.Any()) { LblResults.Text = string.Format("You have successfully deleted {0} Text Note Types: \r\n \r\n", TextNotesForm.nOfItems); TbxResultMessage.Clear(); foreach (string item in TextNotesForm.infoList) { TbxResultMessage.AppendText(item + Environment.NewLine); } } else { LblResults.Text = string.Format("You have successfully deleted {0} Text Note Type(s): \r\n \r\n", TextNotesForm.nOfItems); TbxResultMessage.Clear(); foreach (string item in TextNotesForm.infoList) { TbxResultMessage.AppendText(item + Environment.NewLine); } // append not purged items TbxResultMessage.AppendText("\r\nThe following item(s) could not be deleted: \r\n \r\n"); foreach (string item in TextNotesForm.itemExceptList) { TbxResultMessage.AppendText(item + Environment.NewLine); } } }
private void Form_Results_Load(object sender, EventArgs e) { // populate textbox with results TbxResultMessage.Clear(); TbxResultMessage.AppendText("Attempted to update " + Form.Form_Main.elemTry + " elements." + Environment.NewLine + Environment.NewLine); TbxResultMessage.AppendText(Form.Form_Main.elemFail + " Failures." + Environment.NewLine + Environment.NewLine); TbxResultMessage.AppendText("Grouped elements are excluded from edition"); }
private void Form_Results_Load(object sender, EventArgs e) { TbxResultMessage.Clear(); LblResults.Text = Main_Form.elemSuccess.ToString() + " Elements have been flipped."; TbxResultMessage.AppendText(string.Format("Attempted to flip {0} elements.{1}{1}", Main_Form.elemTry.ToString(), Environment.NewLine)); TbxResultMessage.AppendText(Main_Form.elemFail.ToString() + " Failures."); }
private void Form_Results_Load(object sender, EventArgs e) { LblResultsMain.Text = Form.Form_Main.resultHead; LblResults.Text = Form.Form_Main.resultMain; TbxResultMessage.Clear(); foreach (string st in Form.Form_Main.resultBody) { TbxResultMessage.AppendText(st + Environment.NewLine); } }
private void Form_Results_Load(object sender, EventArgs e) { // populate textbox with results LblResults.Text = string.Format("You have successfully deleted {0} filters: \r\n \r\n", ViewFiltersForm.nOfFilters); TbxResultMessage.Clear(); foreach (string item in ViewFiltersForm.listInfo) { TbxResultMessage.AppendText(item + Environment.NewLine); } }
private void Form_Results_Load(object sender, EventArgs e) { TbxResultMessage.Clear(); // populate textbox with results foreach (string st in UI.Form_Main.createdWorksets) { TbxResultMessage.AppendText(st + Environment.NewLine); } }
private void Form_Results_Load(object sender, EventArgs e) { LblResults.Text = Entry.CmdMain.resultMsgMain; TbxResultMessage.Clear(); // populate textbox with results foreach (string st in Entry.CmdMain.infoResult) { TbxResultMessage.AppendText(st + Environment.NewLine); } }
private void Form_DupResults_Load(object sender, EventArgs e) { LblResultsHead.Text = warningHead; LblResultsMain.Text = warningMain; LblResultsFoot.Text = warningFoot; TbxResultMessage.Clear(); foreach (string st in warningList) { TbxResultMessage.AppendText(st + Environment.NewLine); } }
private void Form_Results_Load(object sender, EventArgs e) { // populate textbox with results LblResults.Text = string.Format("Items removed: {0}\r\n \r\n", Entry.CmdMain.count.ToString()); TbxResultMessage.Clear(); foreach (string item in Entry.CmdMain.info) { TbxResultMessage.AppendText(item + Environment.NewLine); } // append not deleted items TbxResultMessage.AppendText(string.Format("\r\nFailed removing these items: {0} \r\n \r\n", Entry.CmdMain.countFail)); foreach (string item in Entry.CmdMain.infoFail) { TbxResultMessage.AppendText(item + Environment.NewLine); } }
private void Form_Results_Load(object sender, EventArgs e) { TbxResultMessage.Clear(); LblResults.Text = Data.Helpers.countSuccess.ToString() + " new " + Data.Helpers.instanceOrType + " Parameters Loaded:"; // populate textbox with results foreach (string st in Data.Helpers.namesSuccess) { TbxResultMessage.AppendText(st + Environment.NewLine); } // populate fail parameters if (Data.Helpers.failNamesList.Any()) { TbxResultMessage.AppendText(Environment.NewLine + "Failed to load these parameters:" + Environment.NewLine + Environment.NewLine); foreach (string st in Data.Helpers.failNamesList) { TbxResultMessage.AppendText(st + Environment.NewLine); } } }