Esempio n. 1
0
 private void btntlm_Click(object sender, EventArgs e)
 {
     UserWindows.tlm gdc = new UserWindows.tlm();
     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;
     }
 }
Esempio n. 2
0
        private void btntlm_Click(object sender, EventArgs e)
        {
            UserWindows.tlm gdc = new UserWindows.tlm();
            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;
            }
        }