Exemplo n.º 1
0
 public GenericPanelDescriptor(string name, Type viewType, PanelPosition defaultPosition, bool removeOnHide, bool isPinned)
 {
     Name            = PanelName.Parse(name);
     ViewType        = viewType;
     DefaultPosition = defaultPosition;
     RemoveOnHide    = removeOnHide;
     IsPinned        = isPinned;
 }
Exemplo n.º 2
0
 public static void OpenAbout(this IMessageBus me)
 {
     me.OpenPanel(PanelName.Parse(typeof(AboutPanel).GetTypeKey()));
 }