private void replayEditorToolStripMenuItem_Click(object sender, EventArgs e) { if (dgridSockets.SelectedRows.Count != 0) { byte[] zero = new byte[] { 0 }; ReplayEditor frmChReplay = new ReplayEditor(new byte[0], Int32.Parse(dgridSockets.SelectedRows[0].Cells["socket"].Value.ToString(), System.Globalization.NumberStyles.AllowHexSpecifier), pipeOut); if (this.TopMost == true) { frmChReplay.TopMost = true; } frmChReplay.Show(); } }
private void injectToolStripMenuItem_Click(object sender, EventArgs e) { if (dgridMain.SelectedRows.Count != 0) { ReplayEditor frmChReplay = new ReplayEditor(new byte[0], Int32.Parse(dgridMain.SelectedRows[0].Cells["socket"].Value.ToString(), System.Globalization.NumberStyles.AllowHexSpecifier), pipeOut); if (this.TopMost == true) frmChReplay.TopMost = true; frmChReplay.Show(); } else MessageBox.Show("You must choose the socket. You can choose from Menu->Tools->Sockets."); }
private void mnuMsgReplay_Click(object sender, EventArgs e) { if (dgridMain.SelectedRows.Count != 0) { ReplayEditor frmChReplay = new ReplayEditor((byte[])dgridMain.SelectedRows[0].Cells["rawdata"].Value, Int32.Parse(dgridMain.SelectedRows[0].Cells["socket"].Value.ToString(), System.Globalization.NumberStyles.AllowHexSpecifier), pipeOut); if (this.TopMost == true) frmChReplay.TopMost = true; frmChReplay.Show(); } }
private void replayEditorToolStripMenuItem_Click(object sender, EventArgs e) { if (dgridSockets.SelectedRows.Count != 0) { byte[] zero = new byte[] { 0 }; ReplayEditor frmChReplay = new ReplayEditor(new byte[0], Int32.Parse(dgridSockets.SelectedRows[0].Cells["socket"].Value.ToString(), System.Globalization.NumberStyles.AllowHexSpecifier), pipeOut); if (this.TopMost == true) frmChReplay.TopMost = true; frmChReplay.Show(); } }