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