Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/29/12 17:41:18 (13 years ago)
Author:
ascheibe
Message:

#1648 added client registration ui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/MenuItems/ClientInfoMenuItem.cs

    r7534 r7536  
    3232    }
    3333    public override void Execute() {
    34       //    MainFormManager.MainForm.ShowContent(HiveClient.Instance);
     34      if (ClientInformation.Instance.ClientExists) {
     35        using (ClientInformationDialog dialog = new ClientInformationDialog()) {
     36          dialog.ShowDialog();
     37        }
     38      } else {
     39        using (ClientRegistrationDialog regDialog = new ClientRegistrationDialog()) {
     40          regDialog.ShowDialog();
     41        }
     42      }
    3543    }
    3644    public override int Position {
Note: See TracChangeset for help on using the changeset viewer.