private void txtcodeNum_DoubleClick(object sender, EventArgs e)
        {
            FormPurchaseApplication form = new FormPurchaseApplication( );

            if (form.ShowDialog( ) == DialogResult.OK)
            {
                FishEntity.PurchaseApplicationEntity model = form.getModel;
                txtcodeNum.Text         = model.codeNum;
                txtcodeNumContract.Text = model.codeNumContract;
            }
        }
        private void txtCodeNum_DoubleClick(object sender, EventArgs e)
        {
            FormPurchaseApplication form = new FormPurchaseApplication( );

            if (form.ShowDialog( ) == DialogResult.OK)
            {
                FishEntity.PurchaseApplicationEntity _model       = form.getModel;
                List <FishEntity.PurchaseOtherInfo>  getOtherInfo = form.getOtherInfo;
                List <FishEntity.PurchaseFishInfo>   getFishInfo  = form.getFishInfo;
                setValue(_model, getOtherInfo, getFishInfo);
            }
        }
 private void button1_Click(object sender, EventArgs e)
 {
     FormPurchaseApplication from = new FormPurchaseApplication("采购流程2"); from.ShowDialog();
 }