private void bunifuButton3_Click(object sender, EventArgs e) { H_student std = new H_student(); addControl(std); //indicator.Visible = true; indicator.Top = btnStudent.Top; }
private void btnStudent_Click(object sender, EventArgs e) { H_student std = new H_student(); addControl(std); //indicator.Visible = true; //indicator.Location = new Point(btnStudent.Location.X + 200, btnStudent.Location.Y - 33); btnStudent.SendToBack(); //indicator.Top = btnStudent.Top; }