[C#] 纯文本查看 复制代码
private void PrintDocument1_PrintPage(object sender, PrintPageEventArgs e)
{
while (false)
{
object obj = null[0];
}
Graphics graphics = e.Graphics;
bool flag = this.tabControl1.SelectedTab == this.tabPage2;
if (flag)
{
bool @checked = this.checkBox_0.Checked;
if (@checked)
{
graphics.DrawString(this.textBox_32.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 14f, FontStyle.Bold), new SolidBrush(Color.Red), new PointF(26.15f, 19.264f));
}
int num = 4;
int num2 = 10;
Class8.smethod_42(this, this.textBox_29.Text.Trim(), graphics, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 11.5f, FontStyle.Bold), new PointF(313.74f, 20.64f + (float)num));
this.method_6(this.textBox_22.Text, graphics, new PointF(60.3f + (float)num2, 38.528f + (float)num), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 15f, FontStyle.Regular), kgbOBx7BanbFa22Hp9.ol99ukmDA(1376));
this.method_4(this.textBox_21.Text, graphics, new PointF(170.63f, 39.656f + (float)num), new SolidBrush(Color.Black));
this.method_6(this.textBox_20.Text, graphics, new PointF(255f, 38.528f + (float)num), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 15f, FontStyle.Regular), kgbOBx7BanbFa22Hp9.ol99ukmDA(1376));
this.method_6(this.textBox_19.Text, graphics, new PointF(60.68f + (float)num2, 60.92f + (float)num), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1384), 10f, FontStyle.Bold), kgbOBx7BanbFa22Hp9.ol99ukmDA(1406));
Image image = (Image)Resources.ResourceManager.GetObject(kgbOBx7BanbFa22Hp9.ol99ukmDA(1414));
graphics.DrawImage(image, new Rectangle(Convert.ToInt32(140.36f), Convert.ToInt32(63.296f), 60, 3));
this.method_6(this.textBox_18.Text, graphics, new PointF(255.44f, 60.92f + (float)num), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1384), 10f, FontStyle.Bold), kgbOBx7BanbFa22Hp9.ol99ukmDA(1406));
this.method_10(this.textBox_17.Text, graphics, new PointF(0f + (float)num2, 79.80801f), new SolidBrush(Color.Black), kgbOBx7BanbFa22Hp9.ol99ukmDA(1438));
this.method_10(this.textBox_24.Text, graphics, new PointF((this.textBox_24.Text.Length < 8) ? 203.67f : 211.92f, 79.80801f), new SolidBrush(Color.Black), kgbOBx7BanbFa22Hp9.ol99ukmDA(1450));
Image image2 = (Image)Resources.ResourceManager.GetObject(kgbOBx7BanbFa22Hp9.ol99ukmDA(1472));
graphics.DrawImage(image2, new Rectangle(19 + num2, 102, 12, 11));
this.method_5(this.textBox_15.Text, graphics, new PointF(29f + (float)num2, 100f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1492), 14f, FontStyle.Regular), 3f);
this.method_6(this.textBox_27.Text.Trim(), graphics, new PointF(144.48f + (float)num2, 100f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 10f, FontStyle.Bold), kgbOBx7BanbFa22Hp9.ol99ukmDA(1502));
this.method_6(this.textBox_23.Text, graphics, new PointF((this.textBox_24.Text.Length < 8) ? 260.21f : 258.7f, 100f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 10f, FontStyle.Regular), kgbOBx7BanbFa22Hp9.ol99ukmDA(1510));
graphics.DrawString(this.textBox_30.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 9.5f, FontStyle.Bold), new SolidBrush(Color.Black), new PointF(10f + (float)num2, 115.96f));
graphics.DrawString(this.textBox_36.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 10f, FontStyle.Bold), new SolidBrush(Color.Black), new PointF(10f + (float)num2, 132.096f));
this.method_10(this.textBox_12.Text, graphics, new PointF(0f + (float)num2, 147.232f), new SolidBrush(Color.Black), kgbOBx7BanbFa22Hp9.ol99ukmDA(1522));
float emSize = 11f;
float num3 = 147.92f;
bool flag2 = this.textBox_13.Text.Length > 4;
if (flag2)
{
emSize = 8f;
num3 = 149.42f;
}
bool flag3 = this.textBox_3.Text.Length == 8;
if (flag3)
{
emSize = 7f;
num3 = 153.42f;
}
bool flag4 = this.textBox_13.Text.Length > 8;
if (flag4)
{
emSize = 7f;
num3 = 143.9f;
}
Graphics graphics2 = graphics;
RectangleF layoutRectangle = new RectangleF(163.75f + (float)num2, num3, 85f, num3 + 10f);
graphics2.DrawString(this.textBox_13.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), emSize, FontStyle.Bold), new SolidBrush(Color.Black), layoutRectangle);
bool checked2 = this.checkBox_1.Checked;
if (checked2)
{
Class8.smethod_21(new PointF(28.9f + (float)num2, 166.496f), graphics, this);
}
bool checked3 = this.checkBox_2.Checked;
if (checked3)
{
bool flag5 = this.image_0 == null;
if (flag5)
{
this.image_0 = this.pictureBox_blue.Image;
}
graphics.DrawImage(this.image_0, 268.32f, 142f, 53f, 53f);
}
graphics.DrawString(this.textBox_10.Text, this.JMFont, new SolidBrush(Color.Black), new PointF(149.99f + (float)num2, 200.896f));
this.method_11(graphics, this.textBox_11.Text, new PointF(11f + (float)num2, 198.144f));
}
bool flag6 = this.tabControl1.SelectedTab != this.tabPage1;
if (!flag6)
{
bool checked4 = this.checkBox_0.Checked;
if (checked4)
{
graphics.DrawString(this.textBox_32.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 14f, FontStyle.Bold), new SolidBrush(Color.Red), new PointF(26.15f, 19.264f));
}
Class8.smethod_42(this, this.textBox_28.Text.Trim(), graphics, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 11.5f, FontStyle.Bold), new PointF(328.87f, 23.392f));
this.method_6(this.textBox_9.Text, graphics, new PointF(81.19f, 42.656f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 15f, FontStyle.Regular), kgbOBx7BanbFa22Hp9.ol99ukmDA(1376));
this.method_4(this.textBox_8.Text, graphics, new PointF(185.76f, 44.032f), new SolidBrush(Color.Black));
this.method_6(this.textBox_7.Text, graphics, new PointF(273.83f, 42.656f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 15f, FontStyle.Regular), kgbOBx7BanbFa22Hp9.ol99ukmDA(1376));
this.method_6(this.textBox_6.Text, graphics, new PointF(82.56f, 64.672f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1384), 9f, FontStyle.Bold), kgbOBx7BanbFa22Hp9.ol99ukmDA(1406));
Image image3 = (Image)Resources.ResourceManager.GetObject(kgbOBx7BanbFa22Hp9.ol99ukmDA(1550));
graphics.DrawImage(image3, new Rectangle(Convert.ToInt32(156.87f), Convert.ToInt32(61.92f), 60, 3));
this.method_6(this.textBox_5.Text, graphics, new PointF(275.2f, 64.672f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1384), 9f, FontStyle.Bold), kgbOBx7BanbFa22Hp9.ol99ukmDA(1406));
this.method_10(this.textBox_25.Text, graphics, new PointF(16.52f, 79.80801f), new SolidBrush(Color.Black), kgbOBx7BanbFa22Hp9.ol99ukmDA(1438));
this.method_10(this.textBox_16.Text, graphics, new PointF((this.textBox_16.Text.Length < 8) ? 225.67f : 233.92f, 79.80801f), new SolidBrush(Color.Black), kgbOBx7BanbFa22Hp9.ol99ukmDA(1450));
Image image4 = (Image)Resources.ResourceManager.GetObject(kgbOBx7BanbFa22Hp9.ol99ukmDA(1472));
graphics.DrawImage(image4, new Rectangle(Convert.ToInt32(30.28), Convert.ToInt32(101.54880344867706), 12, 11));
this.method_5(this.textBox_4.Text, graphics, new PointF(41.28f, 99.07201f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1492), 14f, FontStyle.Regular), 3f);
this.method_6(this.textBox_26.Text, graphics, new PointF(144.48f, 99.07201f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 10f, FontStyle.Bold), kgbOBx7BanbFa22Hp9.ol99ukmDA(1502));
this.method_6(this.textBox_14.Text, graphics, new PointF((this.textBox_16.Text.Length < 8) ? 280.7f : 276.7f, 98.448f), new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1360), 10f, FontStyle.Bold), kgbOBx7BanbFa22Hp9.ol99ukmDA(1510));
graphics.DrawString(this.textBox_31.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 9.5f, FontStyle.Bold), new SolidBrush(Color.Black), new PointF(26.52f, 115.96f));
graphics.DrawString(this.textBox_37.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), 10f, FontStyle.Bold), new SolidBrush(Color.Black), new PointF(26.52f, 132.096f));
this.method_10(this.textBox_2.Text, graphics, new PointF(16.52f, 147.232f), new SolidBrush(Color.Black), kgbOBx7BanbFa22Hp9.ol99ukmDA(1522));
float emSize2 = 11f;
float num4 = 147.92f;
bool flag7 = this.textBox_3.Text.Length > 4;
if (flag7)
{
emSize2 = 8f;
num4 = 149.42f;
}
bool flag8 = this.textBox_3.Text.Length == 8;
if (flag8)
{
emSize2 = 7f;
num4 = 153.42f;
}
bool flag9 = this.textBox_3.Text.Length > 8;
if (flag9)
{
emSize2 = 7f;
num4 = 143.9f;
}
Graphics graphics3 = graphics;
RectangleF layoutRectangle = new RectangleF(177.51f, num4, 85f, num4 + 10f);
graphics3.DrawString(this.textBox_3.Text, new Font(kgbOBx7BanbFa22Hp9.ol99ukmDA(1368), emSize2, FontStyle.Bold), new SolidBrush(Color.Black), layoutRectangle);
bool checked5 = this.checkBox_1.Checked;
if (checked5)
{
Class8.smethod_21(new PointF(41.28f, 166.496f), graphics, this);
}
bool checked6 = this.checkBox_2.Checked;
if (checked6)
{
bool flag10 = this.image_0 == null;
if (flag10)
{
this.image_0 = (Image)Resources.ResourceManager.GetObject(kgbOBx7BanbFa22Hp9.ol99ukmDA(1572));
}
graphics.DrawImage(this.image_0, 262.32f, 139.976f, 70f, 70f);
}
graphics.DrawString(this.textBox_0.Text, this.JMFont, new SolidBrush(Color.Black), new PointF(165.81f, 201.584f));
this.method_11(graphics, this.textBox_1.Text, new PointF(26.15f, 199.52f));
}
}