Ejemplo n.º 1
0
 private void btnpkc_Click(object sender, EventArgs e)
 {
     UserWindows.pkc gdc = new UserWindows.pkc();
     gdc.Owner = this;
     gdc.ShowDialog();
     if (gdc.DialogResult == DialogResult.OK)
     {
         MainForm frm1 = (MainForm)this.Owner;
         frm1.ChooseParaID = ChooseID;
         frm1.Pic          = pic;
         this.DialogResult = DialogResult.OK;
     }
 }
Ejemplo n.º 2
0
        private void btnpkc_Click(object sender, EventArgs e)
        {
            UserWindows.pkc gdc = new UserWindows.pkc();
            gdc.Owner = this;
            gdc.ShowDialog();
            if (gdc.DialogResult == DialogResult.OK)
            {

                MainForm frm1 = (MainForm)this.Owner;
                frm1.ChooseParaID = ChooseID;
                frm1.Pic = pic;
                this.DialogResult = DialogResult.OK;
            }
        }