private void textBox_pWPSWeldingConsumable_DoubleClick(object sender, EventArgs e) { Form_WeldingConsumableQuery myForm = new Form_WeldingConsumableQuery(); myForm.myClass_WeldingConsumable = new Class_WeldingConsumable(); if (myForm.ShowDialog() == DialogResult.OK) { this.textBox_pWPSWeldingConsumable.Text = string.Format("{0}", myForm.myClass_WeldingConsumable.WeldingConsumable); } }
private void textBox_WeldingConsumable_DoubleClick(object sender, EventArgs e) { Form_WeldingConsumableQuery myForm = new Form_WeldingConsumableQuery(); myForm.myClass_WeldingConsumable = new Class_WeldingConsumable(); if (this.myClass_KindofEmployerIssue.myClass_WeldingParameter.WeldingConsumable != null) { myForm.myClass_WeldingConsumable.WeldingConsumable = this.myClass_KindofEmployerIssue.myClass_WeldingParameter.WeldingConsumable; myForm.myClass_WeldingConsumable.FillData(); } if (myForm.ShowDialog() == DialogResult.OK) { this.myClass_KindofEmployerIssue.myClass_WeldingParameter.WeldingConsumable = myForm.myClass_WeldingConsumable.WeldingConsumable; this.textBox_WeldingConsumable.Text = string.Format("{0}", myForm.myClass_WeldingConsumable.WeldingConsumable); } }
private void textBox_WeldingConsumable_DoubleClick(object sender, EventArgs e) { if (this.bool_GXTheory) { return; } Form_WeldingConsumableQuery myForm = new Form_WeldingConsumableQuery(); myForm.myClass_WeldingConsumable = new Class_WeldingConsumable(); if (!string.IsNullOrEmpty(this.textBox_WeldingConsumable.Text)) { myForm.myClass_WeldingConsumable.WeldingConsumable = this.textBox_WeldingConsumable.Text; myForm.myClass_WeldingConsumable.FillData(); } if (myForm.ShowDialog() == DialogResult.OK) { this.textBox_WeldingConsumable.Text = string.Format("{0}", myForm.myClass_WeldingConsumable.WeldingConsumable); } }