Exemple #1
0
 private Interop.SoftkeyService.VisibleState ChangeVisibleStateToInternal(SoftkeyVisibleState state)
 {
     if (state == SoftkeyVisibleState.Shown)
     {
         return(Interop.SoftkeyService.VisibleState.Show);
     }
     else
     {
         return(Interop.SoftkeyService.VisibleState.Hide);
     }
 }
Exemple #2
0
 private Interop.SoftkeyClient.VisibleState ChangeVisibleStateToInternal(SoftkeyVisibleState state)
 {
     if (state == SoftkeyVisibleState.Shown)
     {
         return(Interop.SoftkeyClient.VisibleState.Shown);
     }
     else if (state == SoftkeyVisibleState.Hidden)
     {
         return(Interop.SoftkeyClient.VisibleState.Hidden);
     }
     else
     {
         return(Interop.SoftkeyClient.VisibleState.Unknown);
     }
 }