예제 #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;
     }
 }
예제 #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;
            }
        }