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(); }
private void ProductCodeTextBox_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { ShipingQtyTextBox.Focus(); e.Handled = true; } }
private void ClearselectedProduct() { ShipmentProductId = null; ImportOrderProductId = null; Sl = null; checkvalue = null; backlogQty = null; ProductCodeTextBox.Clear(); ShipingQtyTextBox.Clear(); ProductDesTextBox.Clear(); ProductNameTextBox.Clear(); }