示例#1
0
 /// <summary>
 /// Handles the Jewelry menu option being clicked
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void mnuUpdate_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         infoLabel.Content = "";
         updateWindow      = new frmUpdate(this);
         updateWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " -> " + ex.Message);
     }
 }
 private void mnuUpdate_Click(object sender, RoutedEventArgs e)
 {
     updateWindow = new frmUpdate(this);
     updateWindow.ShowDialog();
 }
 /// <summary>
 /// Handles the Jewelry menu option being clicked
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void mnuUpdate_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         infoLabel.Content = "";
         updateWindow = new frmUpdate(this);
         updateWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " -> " + ex.Message);
     }
 }
示例#4
0
 private void mnuUpdate_Click(object sender, RoutedEventArgs e)
 {
     updateWindow = new frmUpdate(this);
     updateWindow.ShowDialog();
 }