public void ClearTextbox() { SupplierComboBox.SelectedIndex = -1; SupplierComboBox.Items.Clear(); textBox1.Clear(); textBox2.Clear(); textBox3.Clear(); textBox4.Clear(); textBox5.Clear(); ProductNameTextBox.Clear(); ProductDesTextBox.Clear(); ProductCodeTextBox.Clear(); ShipingQtyTextBox.Clear(); totalItemTextBox.Clear(); totalQuantityTextBox.Clear(); prNmSrchBx.Clear(); itmDscrptnSrchBx.Clear(); pNCheckBox.Checked = false; pDCheckBox.Checked = false; itmCdSrchBx.Clear(); iOSrchBx.Clear(); pCCheckBox.Checked = false; iOCheckBox.Checked = false; listView1.Items.Clear(); dataGridView1.Rows.Clear(); dataGridView1.Refresh(); totalQuantity = 0; totalItem = 0; }
private void ClearselectedProduct() { impOd = null; ProductCodeTextBox.Clear(); ShipingQtyTextBox.Clear(); ProductDesTextBox.Clear(); ProductNameTextBox.Clear(); }
public void Cleardata() { FilenameLabel.Text = "FileNotSelected"; PriceTextBox.Clear(); QuantityTextBox.Clear(); ProductCodeTextBox.Clear(); ProductNameTextBox.Clear(); }
// FOR: ResetRecords For All Buttons Applay private void ResetRecords() { ProductCodeTextBox.Clear(); ProductNameTextBox.Clear(); StatusComboBox.SelectedIndex = -1; AddButton.Text = "Add"; ProductCodeTextBox.Focus(); }
private void ClearselectedProduct() { ShipmentProductId = null; ImportOrderProductId = null; Sl = null; checkvalue = null; backlogQty = null; ProductCodeTextBox.Clear(); ShipingQtyTextBox.Clear(); ProductDesTextBox.Clear(); ProductNameTextBox.Clear(); }