public void btnSearch_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         base.ShowInTaskbar = false;
         base.Visibility    = Visibility.Collapsed;
         long rosterUid = ValidationUtil.ChangeUid(this.tbxInid.Text);
         if (rosterUid != 0L)
         {
             WindowModel.Instance.ResultWindow.Owner = this;
             WindowModel.Instance.ResultWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
             WindowModel.Instance.ResultWindow.Show();
             this.viewModel.SearchRosterByUid(rosterUid, this.sessionService.Jid);
         }
     }
     catch (System.Exception ex)
     {
         ServiceUtil.Instance.Logger.Error(ex.ToString());
     }
 }