private void DisplayThreadText(object sender, EventArgs e) { textBox1.AppendText(_code); textBox1.AppendText("\n"); labelCode.Text = _code; itScan = true; NewBarangForm newB = new NewBarangForm(this); newB.ShowDialog(); }
public void ShowNewBarangForm() { NewBarangForm newB = new NewBarangForm(this); newB.ShowDialog(); }