Exemplo n.º 1
0
        private void editBtn_Click(object sender, EventArgs e)
        {
            Edit_supplier edit = new Edit_supplier();

            edit.Show();
            edit.previousform = this;
            this.Hide();
        }
        private void editBtn_Click(object sender, EventArgs e)
        {
            Edit_supplier edit = new Edit_supplier();

            this.Hide();
            edit.Show();
            edit.previousform = this;

            firstnameTxt.Enabled    = true;
            middlenameTxt.Enabled   = true;
            lastnameTxt.Enabled     = true;
            firstnameTxt.Enabled    = true;
            femaleRadio.Enabled     = true;
            maleRadio.Enabled       = true;
            bdayTxt.Enabled         = true;
            addressTxt.Enabled      = true;
            emailTxt.Enabled        = true;
            cnumTxt.Enabled         = true;
            organizationTxt.Enabled = true;
        }