示例#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;
     }
 }
示例#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;
     }
 }