private void btn_JorID_Click(object sender, EventArgs e) { if (btn_JorID.Text == "") { return; } PL.ACC.frm_Jor jor = new ACC.frm_Jor(); jor.txt_ID.Text = btn_JorID.Text; jor.Show(); }
void btn_Jor_Click(object sender, EventArgs e) { PL.ACC.frm_Jor j = new ACC.frm_Jor(); j.UserID = UserID; j.Show(); }