public IndividualUserAttendance(Form10 form10, Form2 form2, ViewAttendance ff) { InitializeComponent(); f10 = form10 as Form10; f2 = form2 as Form2; userAttendance = ff as ViewAttendance; }
private void RbnViewAttendance_CheckedChanged(object sender, EventArgs e) { if (rbnViewAttendance.Checked == true) { ViewAttendance view = new ViewAttendance(this, mainForm); view.Show(); rbnViewAttendance.Checked = false; } }