Exemplo n.º 1
0
 /// <summary>
 /// Handles the search menu option being clicked
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void mnuSearch_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         infoLabel.Content = "";
         searchWindow      = new frmSearch(this);
         searchWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " -> " + ex.Message);
     }
 }
 private void mnuSearch_Click(object sender, RoutedEventArgs e)
 {
     searchWindow = new frmSearch(this);
     searchWindow.ShowDialog();
 }
 /// <summary>
 /// Handles the search menu option being clicked
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void mnuSearch_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         infoLabel.Content = "";
         searchWindow = new frmSearch(this);
         searchWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " -> " + ex.Message);
     }
 }
Exemplo n.º 4
0
 private void mnuSearch_Click(object sender, RoutedEventArgs e)
 {
     searchWindow = new frmSearch(this);
     searchWindow.ShowDialog();
 }