コード例 #1
0
        private void btn_remark_Click(object sender, EventArgs e)
        {
            int        pid = Convert.ToInt32(tb_Pid.Text);
            Pic_Remark pr  = new Pic_Remark();

            pr.set_Pid(pid);
            pr.set_uid(userid);
            pr.Show();
        }
コード例 #2
0
        private void addremark_close(object sender, FormClosedEventArgs e)
        {
            this.Close();
            this.Dispose();
            // 子窗体调用父窗体
            Pic_Remark pr = new Pic_Remark();

            pr.set_Pid(pid);
            pr.set_uid(userid);
            pr.ShowDialog();
        }