private void btnConsultation_Click(object sender, EventArgs e) { frmConsultation consultation = new frmConsultation(Model); //consultation.RefToDashboard = this; this.Visible = false; consultation.Show(); }
private void btnConsultation_Click(object sender, EventArgs e) { string username = Model.getUserNameForCurrentuser(); frmConsultation consultation = new frmConsultation(Model, username); consultation.RefToDashboard = this; this.Visible = false; consultation.Show(); }