Ejemplo n.º 1
0
 private void SearchBarAppear(object sender, RoutedEventArgs e)
 {
     if (WindowMode == 0 && ActiveUser.UserType != 4)
     {
         var w = new wnSearch(ActiveUser.UserType);//argument is a type of user
         w.Owner = this;
         w.Show();
         this.IsEnabled = true;
     }
 }
Ejemplo n.º 2
0
 private void SearchBarAppear(object sender, RoutedEventArgs e)
 {
     if(WindowMode == 0 && ActiveUser.UserType != 4)
     {
     var w = new wnSearch(ActiveUser.UserType);//argument is a type of user
     w.Owner = this;
     w.Show();
     this.IsEnabled = true;
     }
 }