Ejemplo n.º 1
0
 private void comboBoxStoreProcedures_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (displayHEX)
     {
         richTextBoxStoreProcedureDefinition.Text = StringHexDump.HexDump(results[StoreProcedureActivo = comboBoxStoreProcedures.SelectedIndex].ROUTINE_DEFINITION, HexSize);
     }
     else
     {
         richTextBoxStoreProcedureDefinition.Text = results[StoreProcedureActivo = comboBoxStoreProcedures.SelectedIndex].ROUTINE_DEFINITION;
     }
 }
Ejemplo n.º 2
0
 private void buttonHEX_Click(object sender, EventArgs e)
 {
     if (displayHEX)
     {
         displayHEX = false;
         richTextBoxStoreProcedureDefinition.Text = results[StoreProcedureActivo].ROUTINE_DEFINITION;
         buttonHEX.Text = "ASCII";
     }
     else
     {
         displayHEX = true;
         richTextBoxStoreProcedureDefinition.Text = StringHexDump.HexDump(results[StoreProcedureActivo].ROUTINE_DEFINITION, HexSize);
         buttonHEX.Text = "HEXA";
     }
 }