Inheritance: System.Windows.Forms.Form
コード例 #1
0
 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();
     }
 }
コード例 #2
0
 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.");
 }
コード例 #3
0
 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();
     }
 }
コード例 #4
0
 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();
     }
 }