Ejemplo n.º 1
0
 private void OnActivationError(FileCopyErrorEventArgs e)
 {
     if (ActivationError != null)
     {
         ActivationError(this, e);
     }
 }
Ejemplo n.º 2
0
 protected void OnFileCopyError(FileCopyErrorEventArgs e)
 {
     if (FileCopyError != null)
     {
         FileCopyError(this, e);
     }
 }
Ejemplo n.º 3
0
 private void fileCopyer_FileCopyError(object sender, FileCopyErrorEventArgs e)
 {
     OnActivationError(e);
 }
Ejemplo n.º 4
0
 void ActivationError(object sender, FileCopyErrorEventArgs e)
 {
     Log.Write("安装过程中出现错误,错误描述:" + e.Error.Message + System.Environment.NewLine + "Version:" + e.Manifest.Version);
     MessageBox.Show(this, "安装错误:" + e.Error.Message, "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
     lab_filename.Text = "系统正在回滚";
     updater.Rollback(e.Manifest);
 }