/// <summary> /// 打开计算器 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void btnCalcula_Click(object sender, RoutedEventArgs e) { try { ApplicationManage.OpenApp(AppType.calc); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } }
/// <summary> /// 打开记事本 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void NotePad_Click(object sender, RoutedEventArgs e) { try { ApplicationManage.OpenApp(AppType.Notepad); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } }