private void Btn_Attendance_Click(object sender, EventArgs e) {OpenChildForm(new AttendanceModuel()); }
Dashboard Form Code OpenChlidForm(new Attendance Moduel());
private void BtnOpenModuel_Click(object sender, EventArgs e) {string str = !this.rbtnMorning.Checked ? (!this.rbtnEvening.Checked ? (!this.rbtnMeeting.Checked ? "Special" : "Meeting") : "Evening") : "Morning";new Attendance () { sShift = str }.Show(); }
btnOpenModuel Funtion get
line 4 open in child form but now form open direct how to openc new attendance form in childForm