Class UpdateForm
Modal dialog that copies a set of files to update an installation via an Updater, showing per-file and byte-level progress and optionally backing up replaced files.
Inheritance
UpdateForm
Implements
Inherited Members
Namespace: Reportman.Drawing.Forms
Assembly: Reportman.Drawing.Forms.dll
Syntax
public class UpdateForm : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
View SourceUpdateForm()
Declaration
public UpdateForm()
Methods
View SourceCopyProgress(string, int, int, int, int, ref bool)
Declaration
public void CopyProgress(string filename, int file, int filecount, int position, int size, ref bool docancel)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | |
| int | file | |
| int | filecount | |
| int | position | |
| int | size | |
| bool | docancel |
Dispose(bool)
Limpiar los recursos que se estén utilizando.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | true si los recursos administrados se deben eliminar; false en caso contrario, false. |
Overrides
View SourceDoUpdate(string, DataTable, bool, bool)
Declaration
public static void DoUpdate(string FilePath, DataTable files, bool DoBackup, bool compareDates)
Parameters
| Type | Name | Description |
|---|---|---|
| string | FilePath | |
| DataTable | files | |
| bool | DoBackup | |
| bool | compareDates |
PerformUpdate()
Declaration
public void PerformUpdate()