private void Btn_Click(object sender, EventArgs e) { //get tag int tag = Convert.ToInt32((sender as Button).Tag); RejectList rl = new RejectList("Common", tag); rl.Show(); }
private void buttonAddReject_Click(object sender, EventArgs e) { RejectList rl = new RejectList("Normal"); rl.Show(); }