Ejemplo n.º 1
0
        private void CreateNewTicketButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            CreateTicketMenu createTicketMenu = new CreateTicketMenu();

            createTicketMenu.Show();
        }
        private void CreateNewTicketButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            CreateTicketMenu createTicketMenu = new CreateTicketMenu(CurrentUser);

            //Possiple bug from the SetUser functionality.
            createTicketMenu.SetUser(CurrentUser.Id, CurrentUser.Name, CurrentUser.RoleID);
            createTicketMenu.Show();
        }