private void btnAddDocument_Click(object sender, EventArgs e) { documentInfomation["Code"] = beDocumentCode.Text; documentInfomation["Name"] = teDocumentName.Text; documentInfomation["Process"] = beDocumentProcess.Text; documentInfomation["Version"] = teDocumentVersioin.Text; documentInfomation["Remark"] = mmeRemark.Text; var document = new CreateDocument(); document.documentInfomation = documentInfomation; document.ShowDialog(); beDocumentCode.Text = documentInfomation["Code"] as string; teDocumentName.Text = documentInfomation["Name"] as string; beDocumentProcess.Text = documentInfomation["Process"] as string; teDocumentVersioin.Text = documentInfomation["Version"] as string; mmeRemark.Text = documentInfomation["Remark"] as string; }
private void btnAddDocument_Click(object sender, EventArgs e) { documentInfomation["Code"] = beDocumentCode.Text; documentInfomation["Name"] = teDocumentName.Text; documentInfomation["Process"] = beDocumentProcess.Text; documentInfomation["Version"] = teDocumentVersioin.Text; documentInfomation["Remark"] = mmeRemark.Text; var document = new CreateDocument(); document.documentInfomation = documentInfomation; document.ShowDialog(); beDocumentCode.Text = documentInfomation["Code"] as string; teDocumentName.Text = documentInfomation["Name"] as string; beDocumentProcess.Text = documentInfomation["Process"] as string; teDocumentVersioin.Text = documentInfomation["Version"] as string; mmeRemark.Text = documentInfomation["Remark"] as string; }