/// <summary> /// 添加货物按钮点击事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button_Add_HW_Click(object sender, EventArgs e) { FormOSM_HW_Add form_add_hw = new FormOSM_HW_Add(); form_add_hw.setOfferForm(this); form_add_hw.setHwOfferSheetCode(textBox_OFFERSHEET_CODE.Text); form_add_hw.ShowDialog(); }
/// <summary> /// 设置父窗口 /// </summary> /// <param name="hw_form"></param> public void setHWWindow(FormOSM_HW_Add hw_form) { HWWindow = hw_form; }