Beispiel #1
0
        private void btnStaffRoster_Click(object sender, EventArgs e)
        {
            frmRoster roster = new frmRoster(Model);

            roster.RefToDashboard = this;
            this.Visible          = false;
            roster.Show();
        }
Beispiel #2
0
        private void btnStaffRoster_Click(object sender, EventArgs e)
        {
            frmRoster roster   = new frmRoster(Model);
            string    usertype = Model.getUserTypeForCurrentuser();
            string    username = Model.getUserNameForCurrentuser();

            roster.RefToDashboard = this;
            this.Visible          = false;
            roster.Show();
            roster.ShowUserName(usertype, username);
        }