Ejemplo n.º 1
0
        private void btn_permission_Click(object sender, EventArgs e)
        {
            Ad_UpdateAd childrenForm = new Ad_UpdateAd(this, aid);

            childrenForm.Owner = this;
            this.Hide();
            childrenForm.Show();
        }
Ejemplo n.º 2
0
 public Ad_UpdateAd2(Ad_UpdateAd parent, string aid, string aname, string asex)
 {
     InitializeComponent();
     pform           = parent;
     tbox_aid.Text   = aid;
     tbox_aname.Text = aname;
     cbox_asex.Text  = asex;
     oldaid          = aid;
 }