public override int Add() { FormReturnReceipt form = new FormReturnReceipt(getname); form.ShowDialog(); Query(); return(base.Add()); }
private void txtthCodeNum_DoubleClick(object sender, EventArgs e) { //获取退货单单号 FormReturnReceipt form = new FormReturnReceipt(); if (form.ShowDialog() == DialogResult.OK) { txtthCodeNum.Text = form.getcode; } }