private void btn_profile_Click(object sender, EventArgs e) { currentuser = volunteerhandler.ExtendVolunteer(currentuser); Form_Profile profiledialog = new Form_Profile(currentuser, true); timer_Refresh.Stop(); profiledialog.ShowDialog(); timer_Refresh.Start(); }
private void lbox_Volunteers_DoubleClick(object sender, EventArgs e) { if (lbox_Volunteers.SelectedIndex != -1) { Volunteer selecteduser = lbox_Volunteers.SelectedItem as Volunteer; selecteduser = clienthandler.ExtendVolunteer(selecteduser); Form_Profile profiledialog = new Form_Profile(selecteduser, false); timer_Refresh.Stop(); profiledialog.ShowDialog(); timer_Refresh.Start(); } }
private void btn_profile_Click(object sender, EventArgs e) { currentuser = volunteerhandler.ExtendVolunteer(currentuser); Form_Profile profiledialog = new Form_Profile(currentuser, true); timer_Refresh.Stop(); profiledialog.ShowDialog(); timer_Refresh.Start(); }
private void lbox_Volunteers_DoubleClick(object sender, EventArgs e) { if (lbox_Volunteers.SelectedIndex != -1) { Volunteer selecteduser = lbox_Volunteers.SelectedItem as Volunteer; selecteduser = clienthandler.ExtendVolunteer(selecteduser); Form_Profile profiledialog = new Form_Profile(selecteduser, false); timer_Refresh.Stop(); profiledialog.ShowDialog(); timer_Refresh.Start(); } }