private void startprocessofbom() { txtvalue = Assy_txtbox.Text; try { treeView1.Nodes.Clear(); RemoveChildNodes(root); treeView1.ResetText(); filldatatable(); fillrootnode("1"); } catch (Exception) { if (!String.IsNullOrEmpty(txtvalue) && Char.IsLetter(txtvalue[0])) { MessageBox.Show(" Item does not contain a Bill OF Material on Genius.", "SPM Connect - Bill Of Manufacturing", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); Assy_txtbox.Clear(); } else { MessageBox.Show("Invalid Search Parameter / Item Not Found On Genius.", "SPM Connect - Bill Of Manufacturing", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); cleaup2(); Assy_txtbox.BackColor = Color.IndianRed; } } }
private void cleanup() { treeView1.Nodes.Clear(); treeView1.ResetText(); RemoveChildNodes(root); _acountsTb.Clear(); Assy_txtbox.Clear(); }
private void cleanup() { treeView1.Nodes.Clear(); treeView1.ResetText(); RemoveChildNodes(root); _acountsTb.Clear(); Assy_txtbox.Clear(); Expandchk.Checked = false; txtSearch.Clear(); ItemTxtBox.Clear(); Descriptiontxtbox.Clear(); oemtxtbox.Clear(); oemitemtxtbox.Clear(); qtytxtbox.Clear(); }
private void Assy_txtbox_MouseDoubleClick(object sender, MouseEventArgs e) { // treeView1.TopNode.Nodes.Clear(); treeView1.Nodes.Clear(); treeView1.ResetText(); RemoveChildNodes(root); Assy_txtbox.Clear(); Expandchk.Checked = false; txtSearch.Clear(); ItemTxtBox.Clear(); Descriptiontxtbox.Clear(); oemtxtbox.Clear(); oemitemtxtbox.Clear(); qtytxtbox.Clear(); _acountsTb.Clear(); // SendKeys.Send("~"); }
private void Cleanup() { treeView1.Nodes.Clear(); treeView1.ResetText(); RemoveChildNodes(root); dt.Clear(); Assy_txtbox.Clear(); Expandchk.Checked = false; txtSearch.Clear(); ItemTxtBox.Clear(); Descriptiontxtbox.Clear(); oemtxtbox.Clear(); oemitemtxtbox.Clear(); qtytxtbox.Clear(); sparetxtbox.Clear(); familytxtbox.Clear(); listView.Clear(); listFiles.Clear(); foundlabel.Text = "Search:"; }