1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Image OffsetImg = new Bitmap(lbl_Offset.Width, lbl_Offset.Height);
Graphics OffsetGr = Graphics.FromImage(LoOffsetImg);
Image HexaImg = new Bitmap(lbl_Hexa.Width, lbl_Hexa.Height);
Graphics HexaGr = Graphics.FromImage(LoHexaImg);
Image AsciiImg = new Bitmap(lbl_Ascii.Width, lbl_Ascii.Height);
Graphics AsciiGr = Graphics.FromImage(LoAsciiImg);
// Les 3 lignes que je souhaite supprimé le systéme BRUSHES
OffsetGr.DrawString((m_iOffset + ciNbBytesPerLine * i).ToString("X8"), c_oFont,Brushes.Beige, 0, i * ciLineHeight);
HexaGr.DrawString(m_aCurrentBytes[i][j].ToString("X2"), c_oFont, Brushes.Beige,
j * ciHexaWidth, i * ciLineHeight);
LoAsciiGr.DrawString(((char)m_aCurrentBytes[i][j]).ToString(), c_oFont, Brushes.Beige,
j * ciAsciiWidth, i * ciLineHeight); |
Partager