private void incidentBTN_Click(object sender, EventArgs e)
        {
            IncidentManagement incidentManagement = new IncidentManagement(user, this);

            incidentManagement.Show();
            this.Hide();
        }
Exemple #2
0
 private void incidentBTN_Click(object sender, EventArgs e)
 {
     if (this.incidentManagement == null)
     {
         incidentManagement = new IncidentManagement(this.user, this);
     }
     incidentManagement.Show();
     this.Hide();
 }
 public DolphinController()
 {
     _audit    = new AuditManagement();
     _user     = new UserManagement();
     _menu     = new MenuManagement();
     _role     = new RoleManagement();
     _client   = new ClientManagement();
     _brand    = new BrandManagement();
     _terminal = new TerminalManagement();
     _incident = new IncidentManagement();
 }