public PointerScanDialog(MainForm MainForm, string Address, string ProcessID) { InitializeComponent(); TextAddress.Text = Address; TextMaxOffset.Text = "1000"; this.MainForm = MainForm; this.ProcessID = ProcessID; }
public GateShark(MainForm form, string code, string Description) { this.form = form; string[] l = Regex.Split(code, "\r\n|\r|\n"); foreach (string line in l) { _lines.Add(new GatesharkAr(line, form)); } }
public ConfigDialog(MainForm Form) { this.Form = Form; InitializeComponent(); Dictionary<string, string> ConfigValues = Config.All; foreach (string Key in ConfigValues.Keys) { int Row = ConfigDataGrid.Rows.Add(); ConfigDataGrid[0, Row].Value = Key; ConfigDataGrid[1, Row].Value = ConfigValues[Key]; } }
internal MainFormThreadEventDispatcher(MainForm Form) { // TODO: Complete member initialization this.Form = Form; }
public MainFormThreadButtonState(MainForm Form) { // TODO: Complete member initialization this.Form = Form; }
public GatesharkAr(string ar, MainForm form) { this.form = form; Line = ar; string[] blocks = ar.Split(' '); if (ar.Length != 17) { _cmd = 0xff; _blockA = 0x0fffffff; _blockB = 0x7fffffff; return; } Replace = ar.Replace(" ", string.Empty); _cmd = Convert.ToUInt32(ar[0].ToString(), 16); /* 0 Write Word 1 Write Short 2 Write Byte 3 X > Y 4 X < Y 5 X = Y 6 X ~ Y B OFFSET = READ(X) D3 OFFSET = X */ if (_cmd == 0xD) { _cmd = 0xD0; _cmd += Convert.ToUInt32(ar[1].ToString(), 16); // DX codes _blockA = 0x0; } else { _blockA = Convert.ToUInt32(blocks[0], 16); _blockA -= _cmd * 0x10000000; } _blockB = Convert.ToUInt32(blocks[1], 16); }
public GateSharkImportDialog(MainForm Form) { this.Form = Form; InitializeComponent(); }