C# Class Dumper.Form1

Afficher le fichier Open project: vidar85/USB-Gameboy-Dumper

Méthodes publiques

Свойство Type Description
MyUsbDevice UsbDevice
MyUsbFinder UsbDeviceFinder
ROM_Title string
UsbDeviceNotifier IDeviceNotifier
actual_length int
banks int
connected bool
debug int
ec ErrorCode
error bool
help int
mode int
nonNumberEntered bool
progressBar1 System.Windows.Forms.ProgressBar
reader UsbEndpointReader
rom_size int
stopwatch Stopwatch
usb_command byte[]
wholeUsbDevice IUsbDevice
writer UsbEndpointWriter

Méthodes publiques

Méthode Description
ByteArrayToFile ( string _FileName, byte _ByteArray ) : bool
FileToByteArray ( string _FileName ) : byte[]
Form1 ( ) : System
OnDeviceNotifyEvent ( object sender, DeviceNotifyEventArgs e ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
DumpRAM_b_Click ( object sender, EventArgs e ) : void
DumpROM_b_Click ( object sender, EventArgs e ) : void
Form1_KeyDown ( object sender, KeyEventArgs e ) : void
Form1_KeyDown_1 ( object sender, KeyEventArgs e ) : void
Form1_KeyPress ( object sender, KeyPressEventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Scan_b_Click ( object sender, EventArgs e ) : void
Scan_b_KeyDown ( object sender, KeyEventArgs e ) : void
Scan_b_KeyPress ( object sender, KeyPressEventArgs e ) : void
WriteRAM_b_Click ( object sender, EventArgs e ) : void
backgroundWorker1_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorker1_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
backgroundWorker1_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button1_Click_1 ( object sender, EventArgs e ) : void
button1_Click_2 ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
saveFileDialogRAM_FileOk ( object sender, CancelEventArgs e ) : void
saveFileDialogROM_FileOk ( object sender, CancelEventArgs e ) : void
setButtons_labels ( ) : void
timer1_Tick ( object sender, EventArgs e ) : void

Method Details

ByteArrayToFile() public méthode

public ByteArrayToFile ( string _FileName, byte _ByteArray ) : bool
_FileName string
_ByteArray byte
Résultat bool

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

FileToByteArray() public static méthode

public static FileToByteArray ( string _FileName ) : byte[]
_FileName string
Résultat byte[]

Form1() public méthode

public Form1 ( ) : System
Résultat System

OnDeviceNotifyEvent() public méthode

public OnDeviceNotifyEvent ( object sender, DeviceNotifyEventArgs e ) : void
sender object
e DeviceNotifyEventArgs
Résultat void

Property Details

MyUsbDevice public_oe static_oe property

public static UsbDevice MyUsbDevice
Résultat UsbDevice

MyUsbFinder public_oe static_oe property

public static UsbDeviceFinder MyUsbFinder
Résultat UsbDeviceFinder

ROM_Title public_oe static_oe property

public static string ROM_Title
Résultat string

UsbDeviceNotifier public_oe static_oe property

public static IDeviceNotifier UsbDeviceNotifier
Résultat IDeviceNotifier

actual_length public_oe static_oe property

public static int actual_length
Résultat int

banks public_oe static_oe property

public static int banks
Résultat int

connected public_oe static_oe property

public static bool connected
Résultat bool

debug public_oe static_oe property

public static int debug
Résultat int

ec public_oe static_oe property

public static ErrorCode ec
Résultat ErrorCode

error public_oe static_oe property

public static bool error
Résultat bool

help public_oe static_oe property

public static int help
Résultat int

mode public_oe static_oe property

public static int mode
Résultat int

nonNumberEntered public_oe property

public bool nonNumberEntered
Résultat bool

progressBar1 public_oe property

public System.Windows.Forms.ProgressBar progressBar1
Résultat System.Windows.Forms.ProgressBar

reader public_oe static_oe property

public static UsbEndpointReader reader
Résultat UsbEndpointReader

rom_size public_oe static_oe property

public static int rom_size
Résultat int

stopwatch public_oe property

public Stopwatch stopwatch
Résultat Stopwatch

usb_command public_oe static_oe property

public static byte[] usb_command
Résultat byte[]

wholeUsbDevice public_oe static_oe property

public static IUsbDevice wholeUsbDevice
Résultat IUsbDevice

writer public_oe static_oe property

public static UsbEndpointWriter writer
Résultat UsbEndpointWriter