示例#1
0
        private void 添加医生信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormCreateDoctor f = new FormCreateDoctor();

            f.ShowDialog();
            FreshPrise();
        }
示例#2
0
 private void FormUpdateDoctor_Load(object sender, EventArgs e)
 {
     this.form       = (FormCreateDoctor)this.Owner;
     UpdateName.Text = form.tempRow["Name"].ToString();
 }
示例#3
0
 /// <summary>
 /// 不建议这样 建议这里要用DataRow就用构造函数传DataRow
 /// </summary>
 /// <param name="myForm"></param>
 public FormUpdateDoctor(FormCreateDoctor myForm)
 {
     InitializeComponent();
     this.form = myForm;
 }