TextItemSetting.designer.cs 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  1. namespace Dongke.WinForm.Controls.InvoiceLayout
  2. {
  3. partial class TextItemSetting
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextItemSetting));
  30. this.grbTextAlignment = new System.Windows.Forms.GroupBox();
  31. this.rbtnEvenness = new System.Windows.Forms.RadioButton();
  32. this.rbtnRight = new System.Windows.Forms.RadioButton();
  33. this.rbtnCenter = new System.Windows.Forms.RadioButton();
  34. this.rbtnLeft = new System.Windows.Forms.RadioButton();
  35. this.label7 = new System.Windows.Forms.Label();
  36. this.numLineSpace = new System.Windows.Forms.NumericUpDown();
  37. this.label8 = new System.Windows.Forms.Label();
  38. this.label9 = new System.Windows.Forms.Label();
  39. this.label10 = new System.Windows.Forms.Label();
  40. this.numCharSpace = new System.Windows.Forms.NumericUpDown();
  41. this.label11 = new System.Windows.Forms.Label();
  42. this.label12 = new System.Windows.Forms.Label();
  43. this.numWidth = new System.Windows.Forms.NumericUpDown();
  44. this.label13 = new System.Windows.Forms.Label();
  45. this.label14 = new System.Windows.Forms.Label();
  46. this.numHeight = new System.Windows.Forms.NumericUpDown();
  47. this.label15 = new System.Windows.Forms.Label();
  48. this.label16 = new System.Windows.Forms.Label();
  49. this.numLoctionY = new System.Windows.Forms.NumericUpDown();
  50. this.label17 = new System.Windows.Forms.Label();
  51. this.label18 = new System.Windows.Forms.Label();
  52. this.numLoctionX = new System.Windows.Forms.NumericUpDown();
  53. this.label19 = new System.Windows.Forms.Label();
  54. this.numCharCount = new System.Windows.Forms.NumericUpDown();
  55. this.txtPreview = new System.Windows.Forms.TextBox();
  56. this.lblPreview = new System.Windows.Forms.Label();
  57. this.ddlDefaultValue = new System.Windows.Forms.ComboBox();
  58. this.ddlTextFormat = new System.Windows.Forms.ComboBox();
  59. this.label22 = new System.Windows.Forms.Label();
  60. this.label23 = new System.Windows.Forms.Label();
  61. this.btnSelectColor = new System.Windows.Forms.Button();
  62. this.colorDialog = new System.Windows.Forms.ColorDialog();
  63. this.lblItemName = new System.Windows.Forms.Label();
  64. this.txtItemName = new System.Windows.Forms.TextBox();
  65. this.toolTip = new System.Windows.Forms.ToolTip(this.components);
  66. this.btnFont = new System.Windows.Forms.Button();
  67. this.groupBox2 = new System.Windows.Forms.GroupBox();
  68. this.grbTextAlignmentV = new System.Windows.Forms.GroupBox();
  69. this.rbtnBottom = new System.Windows.Forms.RadioButton();
  70. this.rbtnCenterV = new System.Windows.Forms.RadioButton();
  71. this.rbtnTop = new System.Windows.Forms.RadioButton();
  72. this.fontDialog = new System.Windows.Forms.FontDialog();
  73. this.ckbWrap = new System.Windows.Forms.CheckBox();
  74. this.btnOK = new Dongke.WinForm.Controls.BtnButton();
  75. this.btnCancel = new Dongke.WinForm.Controls.BtnButton();
  76. this.chkFixedRatio = new System.Windows.Forms.CheckBox();
  77. this.chkM = new System.Windows.Forms.CheckBox();
  78. this.chkPic = new System.Windows.Forms.CheckBox();
  79. this.grbTextAlignment.SuspendLayout();
  80. ((System.ComponentModel.ISupportInitialize)(this.numLineSpace)).BeginInit();
  81. ((System.ComponentModel.ISupportInitialize)(this.numCharSpace)).BeginInit();
  82. ((System.ComponentModel.ISupportInitialize)(this.numWidth)).BeginInit();
  83. ((System.ComponentModel.ISupportInitialize)(this.numHeight)).BeginInit();
  84. ((System.ComponentModel.ISupportInitialize)(this.numLoctionY)).BeginInit();
  85. ((System.ComponentModel.ISupportInitialize)(this.numLoctionX)).BeginInit();
  86. ((System.ComponentModel.ISupportInitialize)(this.numCharCount)).BeginInit();
  87. this.groupBox2.SuspendLayout();
  88. this.grbTextAlignmentV.SuspendLayout();
  89. this.SuspendLayout();
  90. //
  91. // pnlBack
  92. //
  93. this.pnlBack.Size = new System.Drawing.Size(409, 480);
  94. //
  95. // grbTextAlignment
  96. //
  97. this.grbTextAlignment.Controls.Add(this.rbtnEvenness);
  98. this.grbTextAlignment.Controls.Add(this.rbtnRight);
  99. this.grbTextAlignment.Controls.Add(this.rbtnCenter);
  100. this.grbTextAlignment.Controls.Add(this.rbtnLeft);
  101. this.grbTextAlignment.Location = new System.Drawing.Point(192, 20);
  102. this.grbTextAlignment.Name = "grbTextAlignment";
  103. this.grbTextAlignment.Size = new System.Drawing.Size(95, 111);
  104. this.grbTextAlignment.TabIndex = 20;
  105. this.grbTextAlignment.TabStop = false;
  106. this.grbTextAlignment.Text = "水平对齐";
  107. //
  108. // rbtnEvenness
  109. //
  110. this.rbtnEvenness.AutoSize = true;
  111. this.rbtnEvenness.Location = new System.Drawing.Point(10, 83);
  112. this.rbtnEvenness.Name = "rbtnEvenness";
  113. this.rbtnEvenness.Size = new System.Drawing.Size(71, 16);
  114. this.rbtnEvenness.TabIndex = 3;
  115. this.rbtnEvenness.TabStop = true;
  116. this.rbtnEvenness.Text = "两端对齐";
  117. this.rbtnEvenness.UseVisualStyleBackColor = true;
  118. this.rbtnEvenness.CheckedChanged += new System.EventHandler(this.rbtnTextAlignment_CheckedChanged);
  119. //
  120. // rbtnRight
  121. //
  122. this.rbtnRight.AutoSize = true;
  123. this.rbtnRight.Location = new System.Drawing.Point(10, 61);
  124. this.rbtnRight.Name = "rbtnRight";
  125. this.rbtnRight.Size = new System.Drawing.Size(59, 16);
  126. this.rbtnRight.TabIndex = 2;
  127. this.rbtnRight.TabStop = true;
  128. this.rbtnRight.Text = "右对齐";
  129. this.rbtnRight.UseVisualStyleBackColor = true;
  130. this.rbtnRight.CheckedChanged += new System.EventHandler(this.rbtnTextAlignment_CheckedChanged);
  131. //
  132. // rbtnCenter
  133. //
  134. this.rbtnCenter.AutoSize = true;
  135. this.rbtnCenter.Location = new System.Drawing.Point(10, 39);
  136. this.rbtnCenter.Name = "rbtnCenter";
  137. this.rbtnCenter.Size = new System.Drawing.Size(71, 16);
  138. this.rbtnCenter.TabIndex = 1;
  139. this.rbtnCenter.Text = "居中对齐";
  140. this.rbtnCenter.UseVisualStyleBackColor = true;
  141. this.rbtnCenter.CheckedChanged += new System.EventHandler(this.rbtnTextAlignment_CheckedChanged);
  142. //
  143. // rbtnLeft
  144. //
  145. this.rbtnLeft.AutoSize = true;
  146. this.rbtnLeft.Checked = true;
  147. this.rbtnLeft.Location = new System.Drawing.Point(10, 17);
  148. this.rbtnLeft.Name = "rbtnLeft";
  149. this.rbtnLeft.Size = new System.Drawing.Size(59, 16);
  150. this.rbtnLeft.TabIndex = 0;
  151. this.rbtnLeft.TabStop = true;
  152. this.rbtnLeft.Text = "左对齐";
  153. this.rbtnLeft.UseVisualStyleBackColor = true;
  154. this.rbtnLeft.CheckedChanged += new System.EventHandler(this.rbtnTextAlignment_CheckedChanged);
  155. //
  156. // label7
  157. //
  158. this.label7.AutoSize = true;
  159. this.label7.Location = new System.Drawing.Point(17, 134);
  160. this.label7.Name = "label7";
  161. this.label7.Size = new System.Drawing.Size(29, 12);
  162. this.label7.TabIndex = 12;
  163. this.label7.Text = "行距";
  164. //
  165. // numLineSpace
  166. //
  167. this.numLineSpace.DecimalPlaces = 1;
  168. this.numLineSpace.Increment = new decimal(new int[] {
  169. 1,
  170. 0,
  171. 0,
  172. 65536});
  173. this.numLineSpace.Location = new System.Drawing.Point(19, 149);
  174. this.numLineSpace.Maximum = new decimal(new int[] {
  175. 999,
  176. 0,
  177. 0,
  178. 65536});
  179. this.numLineSpace.Minimum = new decimal(new int[] {
  180. 999,
  181. 0,
  182. 0,
  183. -2147418112});
  184. this.numLineSpace.Name = "numLineSpace";
  185. this.numLineSpace.Size = new System.Drawing.Size(53, 21);
  186. this.numLineSpace.TabIndex = 13;
  187. this.numLineSpace.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  188. //
  189. // label8
  190. //
  191. this.label8.AutoSize = true;
  192. this.label8.Location = new System.Drawing.Point(75, 153);
  193. this.label8.Name = "label8";
  194. this.label8.Size = new System.Drawing.Size(17, 12);
  195. this.label8.TabIndex = 14;
  196. this.label8.Text = "mm";
  197. //
  198. // label9
  199. //
  200. this.label9.AutoSize = true;
  201. this.label9.Location = new System.Drawing.Point(108, 134);
  202. this.label9.Name = "label9";
  203. this.label9.Size = new System.Drawing.Size(41, 12);
  204. this.label9.TabIndex = 15;
  205. this.label9.Text = "字间距";
  206. //
  207. // label10
  208. //
  209. this.label10.AutoSize = true;
  210. this.label10.Location = new System.Drawing.Point(169, 153);
  211. this.label10.Name = "label10";
  212. this.label10.Size = new System.Drawing.Size(17, 12);
  213. this.label10.TabIndex = 17;
  214. this.label10.Text = "mm";
  215. //
  216. // numCharSpace
  217. //
  218. this.numCharSpace.DecimalPlaces = 1;
  219. this.numCharSpace.Increment = new decimal(new int[] {
  220. 1,
  221. 0,
  222. 0,
  223. 65536});
  224. this.numCharSpace.Location = new System.Drawing.Point(110, 149);
  225. this.numCharSpace.Maximum = new decimal(new int[] {
  226. 999,
  227. 0,
  228. 0,
  229. 65536});
  230. this.numCharSpace.Minimum = new decimal(new int[] {
  231. 999,
  232. 0,
  233. 0,
  234. -2147418112});
  235. this.numCharSpace.Name = "numCharSpace";
  236. this.numCharSpace.Size = new System.Drawing.Size(53, 21);
  237. this.numCharSpace.TabIndex = 16;
  238. this.numCharSpace.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  239. //
  240. // label11
  241. //
  242. this.label11.AutoSize = true;
  243. this.label11.Location = new System.Drawing.Point(17, 77);
  244. this.label11.Name = "label11";
  245. this.label11.Size = new System.Drawing.Size(17, 12);
  246. this.label11.TabIndex = 5;
  247. this.label11.Text = "宽";
  248. //
  249. // label12
  250. //
  251. this.label12.AutoSize = true;
  252. this.label12.Location = new System.Drawing.Point(77, 96);
  253. this.label12.Name = "label12";
  254. this.label12.Size = new System.Drawing.Size(17, 12);
  255. this.label12.TabIndex = 7;
  256. this.label12.Text = "mm";
  257. //
  258. // numWidth
  259. //
  260. this.numWidth.DecimalPlaces = 1;
  261. this.numWidth.Increment = new decimal(new int[] {
  262. 1,
  263. 0,
  264. 0,
  265. 65536});
  266. this.numWidth.Location = new System.Drawing.Point(19, 92);
  267. this.numWidth.Maximum = new decimal(new int[] {
  268. 9999,
  269. 0,
  270. 0,
  271. 65536});
  272. this.numWidth.Minimum = new decimal(new int[] {
  273. 1,
  274. 0,
  275. 0,
  276. 0});
  277. this.numWidth.Name = "numWidth";
  278. this.numWidth.Size = new System.Drawing.Size(53, 21);
  279. this.numWidth.TabIndex = 6;
  280. this.numWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  281. this.numWidth.Value = new decimal(new int[] {
  282. 40,
  283. 0,
  284. 0,
  285. 0});
  286. this.numWidth.ValueChanged += new System.EventHandler(this.numCharCount_ValueChanged);
  287. //
  288. // label13
  289. //
  290. this.label13.AutoSize = true;
  291. this.label13.Location = new System.Drawing.Point(108, 77);
  292. this.label13.Name = "label13";
  293. this.label13.Size = new System.Drawing.Size(17, 12);
  294. this.label13.TabIndex = 8;
  295. this.label13.Text = "高";
  296. //
  297. // label14
  298. //
  299. this.label14.AutoSize = true;
  300. this.label14.Location = new System.Drawing.Point(169, 96);
  301. this.label14.Name = "label14";
  302. this.label14.Size = new System.Drawing.Size(17, 12);
  303. this.label14.TabIndex = 11;
  304. this.label14.Text = "mm";
  305. //
  306. // numHeight
  307. //
  308. this.numHeight.DecimalPlaces = 1;
  309. this.numHeight.Increment = new decimal(new int[] {
  310. 1,
  311. 0,
  312. 0,
  313. 65536});
  314. this.numHeight.Location = new System.Drawing.Point(110, 92);
  315. this.numHeight.Maximum = new decimal(new int[] {
  316. 9999,
  317. 0,
  318. 0,
  319. 65536});
  320. this.numHeight.Minimum = new decimal(new int[] {
  321. 1,
  322. 0,
  323. 0,
  324. 0});
  325. this.numHeight.Name = "numHeight";
  326. this.numHeight.Size = new System.Drawing.Size(53, 21);
  327. this.numHeight.TabIndex = 9;
  328. this.numHeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  329. this.numHeight.Value = new decimal(new int[] {
  330. 6,
  331. 0,
  332. 0,
  333. 0});
  334. //
  335. // label15
  336. //
  337. this.label15.AutoSize = true;
  338. this.label15.Location = new System.Drawing.Point(108, 20);
  339. this.label15.Name = "label15";
  340. this.label15.Size = new System.Drawing.Size(11, 12);
  341. this.label15.TabIndex = 3;
  342. this.label15.Text = "Y";
  343. //
  344. // label16
  345. //
  346. this.label16.AutoSize = true;
  347. this.label16.Location = new System.Drawing.Point(169, 39);
  348. this.label16.Name = "label16";
  349. this.label16.Size = new System.Drawing.Size(17, 12);
  350. this.label16.TabIndex = 10;
  351. this.label16.Text = "mm";
  352. //
  353. // numLoctionY
  354. //
  355. this.numLoctionY.DecimalPlaces = 1;
  356. this.numLoctionY.Increment = new decimal(new int[] {
  357. 1,
  358. 0,
  359. 0,
  360. 65536});
  361. this.numLoctionY.Location = new System.Drawing.Point(110, 35);
  362. this.numLoctionY.Maximum = new decimal(new int[] {
  363. 9999,
  364. 0,
  365. 0,
  366. 65536});
  367. this.numLoctionY.Name = "numLoctionY";
  368. this.numLoctionY.Size = new System.Drawing.Size(53, 21);
  369. this.numLoctionY.TabIndex = 4;
  370. this.numLoctionY.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  371. this.numLoctionY.Value = new decimal(new int[] {
  372. 10,
  373. 0,
  374. 0,
  375. 0});
  376. //
  377. // label17
  378. //
  379. this.label17.AutoSize = true;
  380. this.label17.Location = new System.Drawing.Point(17, 20);
  381. this.label17.Name = "label17";
  382. this.label17.Size = new System.Drawing.Size(11, 12);
  383. this.label17.TabIndex = 0;
  384. this.label17.Text = "X";
  385. //
  386. // label18
  387. //
  388. this.label18.AutoSize = true;
  389. this.label18.Location = new System.Drawing.Point(77, 39);
  390. this.label18.Name = "label18";
  391. this.label18.Size = new System.Drawing.Size(17, 12);
  392. this.label18.TabIndex = 2;
  393. this.label18.Text = "mm";
  394. //
  395. // numLoctionX
  396. //
  397. this.numLoctionX.DecimalPlaces = 1;
  398. this.numLoctionX.Increment = new decimal(new int[] {
  399. 1,
  400. 0,
  401. 0,
  402. 65536});
  403. this.numLoctionX.Location = new System.Drawing.Point(19, 35);
  404. this.numLoctionX.Maximum = new decimal(new int[] {
  405. 9999,
  406. 0,
  407. 0,
  408. 65536});
  409. this.numLoctionX.Name = "numLoctionX";
  410. this.numLoctionX.Size = new System.Drawing.Size(53, 21);
  411. this.numLoctionX.TabIndex = 1;
  412. this.numLoctionX.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  413. this.numLoctionX.Value = new decimal(new int[] {
  414. 10,
  415. 0,
  416. 0,
  417. 0});
  418. //
  419. // label19
  420. //
  421. this.label19.AutoSize = true;
  422. this.label19.Location = new System.Drawing.Point(198, 134);
  423. this.label19.Name = "label19";
  424. this.label19.Size = new System.Drawing.Size(65, 12);
  425. this.label19.TabIndex = 18;
  426. this.label19.Text = "单行文字数";
  427. //
  428. // numCharCount
  429. //
  430. this.numCharCount.Location = new System.Drawing.Point(200, 149);
  431. this.numCharCount.Maximum = new decimal(new int[] {
  432. 99,
  433. 0,
  434. 0,
  435. 0});
  436. this.numCharCount.Name = "numCharCount";
  437. this.numCharCount.Size = new System.Drawing.Size(53, 21);
  438. this.numCharCount.TabIndex = 19;
  439. this.numCharCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  440. this.numCharCount.ValueChanged += new System.EventHandler(this.numCharCount_ValueChanged);
  441. //
  442. // txtPreview
  443. //
  444. this.txtPreview.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  445. this.txtPreview.ForeColor = System.Drawing.Color.Black;
  446. this.txtPreview.ImeMode = System.Windows.Forms.ImeMode.NoControl;
  447. this.txtPreview.Location = new System.Drawing.Point(12, 234);
  448. this.txtPreview.Multiline = true;
  449. this.txtPreview.Name = "txtPreview";
  450. this.txtPreview.Size = new System.Drawing.Size(385, 91);
  451. this.txtPreview.TabIndex = 4;
  452. this.txtPreview.Text = "固定文字";
  453. this.txtPreview.WordWrap = false;
  454. this.txtPreview.FontChanged += new System.EventHandler(this.txtPreview_FontChanged);
  455. //
  456. // lblPreview
  457. //
  458. this.lblPreview.AutoSize = true;
  459. this.lblPreview.BackColor = System.Drawing.Color.Transparent;
  460. this.lblPreview.Location = new System.Drawing.Point(12, 219);
  461. this.lblPreview.Name = "lblPreview";
  462. this.lblPreview.Size = new System.Drawing.Size(29, 12);
  463. this.lblPreview.TabIndex = 3;
  464. this.lblPreview.Text = "示例";
  465. //
  466. // ddlDefaultValue
  467. //
  468. this.ddlDefaultValue.FormattingEnabled = true;
  469. this.ddlDefaultValue.Location = new System.Drawing.Point(12, 343);
  470. this.ddlDefaultValue.Name = "ddlDefaultValue";
  471. this.ddlDefaultValue.Size = new System.Drawing.Size(187, 20);
  472. this.ddlDefaultValue.TabIndex = 6;
  473. //
  474. // ddlTextFormat
  475. //
  476. this.ddlTextFormat.FormattingEnabled = true;
  477. this.ddlTextFormat.Location = new System.Drawing.Point(12, 381);
  478. this.ddlTextFormat.Name = "ddlTextFormat";
  479. this.ddlTextFormat.Size = new System.Drawing.Size(187, 20);
  480. this.ddlTextFormat.TabIndex = 8;
  481. this.ddlTextFormat.SelectedIndexChanged += new System.EventHandler(this.ddlTextFormat_SelectedIndexChanged);
  482. //
  483. // label22
  484. //
  485. this.label22.AutoSize = true;
  486. this.label22.BackColor = System.Drawing.Color.Transparent;
  487. this.label22.Location = new System.Drawing.Point(12, 328);
  488. this.label22.Name = "label22";
  489. this.label22.Size = new System.Drawing.Size(41, 12);
  490. this.label22.TabIndex = 5;
  491. this.label22.Text = "初始值";
  492. //
  493. // label23
  494. //
  495. this.label23.AutoSize = true;
  496. this.label23.BackColor = System.Drawing.Color.Transparent;
  497. this.label23.Location = new System.Drawing.Point(12, 366);
  498. this.label23.Name = "label23";
  499. this.label23.Size = new System.Drawing.Size(29, 12);
  500. this.label23.TabIndex = 7;
  501. this.label23.Text = "格式";
  502. //
  503. // btnSelectColor
  504. //
  505. this.btnSelectColor.Location = new System.Drawing.Point(227, 342);
  506. this.btnSelectColor.Name = "btnSelectColor";
  507. this.btnSelectColor.Size = new System.Drawing.Size(75, 23);
  508. this.btnSelectColor.TabIndex = 5;
  509. this.btnSelectColor.Text = "颜色...";
  510. this.btnSelectColor.UseVisualStyleBackColor = true;
  511. this.btnSelectColor.Click += new System.EventHandler(this.btnSelectColor_Click);
  512. //
  513. // lblItemName
  514. //
  515. this.lblItemName.AutoSize = true;
  516. this.lblItemName.BackColor = System.Drawing.Color.Transparent;
  517. this.lblItemName.Location = new System.Drawing.Point(12, 13);
  518. this.lblItemName.Name = "lblItemName";
  519. this.lblItemName.Size = new System.Drawing.Size(41, 12);
  520. this.lblItemName.TabIndex = 0;
  521. this.lblItemName.Text = "项目名";
  522. //
  523. // txtItemName
  524. //
  525. this.txtItemName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
  526. this.txtItemName.Location = new System.Drawing.Point(59, 10);
  527. this.txtItemName.MaxLength = 30;
  528. this.txtItemName.Name = "txtItemName";
  529. this.txtItemName.Size = new System.Drawing.Size(338, 21);
  530. this.txtItemName.TabIndex = 1;
  531. //
  532. // toolTip
  533. //
  534. this.toolTip.AutoPopDelay = 5000;
  535. this.toolTip.InitialDelay = 500;
  536. this.toolTip.ReshowDelay = 500;
  537. //
  538. // btnFont
  539. //
  540. this.btnFont.Location = new System.Drawing.Point(227, 380);
  541. this.btnFont.Name = "btnFont";
  542. this.btnFont.Size = new System.Drawing.Size(75, 23);
  543. this.btnFont.TabIndex = 6;
  544. this.btnFont.Text = "字体...";
  545. this.btnFont.UseVisualStyleBackColor = true;
  546. this.btnFont.Click += new System.EventHandler(this.btnFont_Click);
  547. //
  548. // groupBox2
  549. //
  550. this.groupBox2.BackColor = System.Drawing.Color.Transparent;
  551. this.groupBox2.Controls.Add(this.label11);
  552. this.groupBox2.Controls.Add(this.label13);
  553. this.groupBox2.Controls.Add(this.label15);
  554. this.groupBox2.Controls.Add(this.label17);
  555. this.groupBox2.Controls.Add(this.label12);
  556. this.groupBox2.Controls.Add(this.label14);
  557. this.groupBox2.Controls.Add(this.label16);
  558. this.groupBox2.Controls.Add(this.numCharCount);
  559. this.groupBox2.Controls.Add(this.numLoctionX);
  560. this.groupBox2.Controls.Add(this.numCharSpace);
  561. this.groupBox2.Controls.Add(this.label18);
  562. this.groupBox2.Controls.Add(this.grbTextAlignmentV);
  563. this.groupBox2.Controls.Add(this.grbTextAlignment);
  564. this.groupBox2.Controls.Add(this.numLineSpace);
  565. this.groupBox2.Controls.Add(this.numLoctionY);
  566. this.groupBox2.Controls.Add(this.label10);
  567. this.groupBox2.Controls.Add(this.numWidth);
  568. this.groupBox2.Controls.Add(this.label8);
  569. this.groupBox2.Controls.Add(this.numHeight);
  570. this.groupBox2.Controls.Add(this.label19);
  571. this.groupBox2.Controls.Add(this.label7);
  572. this.groupBox2.Controls.Add(this.label9);
  573. this.groupBox2.Location = new System.Drawing.Point(6, 37);
  574. this.groupBox2.Name = "groupBox2";
  575. this.groupBox2.Size = new System.Drawing.Size(396, 179);
  576. this.groupBox2.TabIndex = 2;
  577. this.groupBox2.TabStop = false;
  578. this.groupBox2.Text = "文本位置";
  579. //
  580. // grbTextAlignmentV
  581. //
  582. this.grbTextAlignmentV.Controls.Add(this.rbtnBottom);
  583. this.grbTextAlignmentV.Controls.Add(this.rbtnCenterV);
  584. this.grbTextAlignmentV.Controls.Add(this.rbtnTop);
  585. this.grbTextAlignmentV.Location = new System.Drawing.Point(293, 20);
  586. this.grbTextAlignmentV.Name = "grbTextAlignmentV";
  587. this.grbTextAlignmentV.Size = new System.Drawing.Size(95, 111);
  588. this.grbTextAlignmentV.TabIndex = 21;
  589. this.grbTextAlignmentV.TabStop = false;
  590. this.grbTextAlignmentV.Text = "垂直对齐";
  591. //
  592. // rbtnBottom
  593. //
  594. this.rbtnBottom.AutoSize = true;
  595. this.rbtnBottom.Location = new System.Drawing.Point(10, 61);
  596. this.rbtnBottom.Name = "rbtnBottom";
  597. this.rbtnBottom.Size = new System.Drawing.Size(71, 16);
  598. this.rbtnBottom.TabIndex = 2;
  599. this.rbtnBottom.TabStop = true;
  600. this.rbtnBottom.Text = "底端对齐";
  601. this.rbtnBottom.UseVisualStyleBackColor = true;
  602. this.rbtnBottom.CheckedChanged += new System.EventHandler(this.rbtnTextAlignment_CheckedChanged);
  603. //
  604. // rbtnCenterV
  605. //
  606. this.rbtnCenterV.AutoSize = true;
  607. this.rbtnCenterV.Location = new System.Drawing.Point(10, 39);
  608. this.rbtnCenterV.Name = "rbtnCenterV";
  609. this.rbtnCenterV.Size = new System.Drawing.Size(71, 16);
  610. this.rbtnCenterV.TabIndex = 1;
  611. this.rbtnCenterV.Text = "垂直居中";
  612. this.rbtnCenterV.UseVisualStyleBackColor = true;
  613. this.rbtnCenterV.CheckedChanged += new System.EventHandler(this.rbtnTextAlignment_CheckedChanged);
  614. //
  615. // rbtnTop
  616. //
  617. this.rbtnTop.AutoSize = true;
  618. this.rbtnTop.Checked = true;
  619. this.rbtnTop.Location = new System.Drawing.Point(10, 17);
  620. this.rbtnTop.Name = "rbtnTop";
  621. this.rbtnTop.Size = new System.Drawing.Size(71, 16);
  622. this.rbtnTop.TabIndex = 0;
  623. this.rbtnTop.TabStop = true;
  624. this.rbtnTop.Text = "顶端对齐";
  625. this.rbtnTop.UseVisualStyleBackColor = true;
  626. this.rbtnTop.CheckedChanged += new System.EventHandler(this.rbtnTextAlignment_CheckedChanged);
  627. //
  628. // fontDialog
  629. //
  630. this.fontDialog.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  631. this.fontDialog.ShowEffects = false;
  632. //
  633. // ckbWrap
  634. //
  635. this.ckbWrap.AutoSize = true;
  636. this.ckbWrap.BackColor = System.Drawing.Color.Transparent;
  637. this.ckbWrap.Location = new System.Drawing.Point(12, 413);
  638. this.ckbWrap.Name = "ckbWrap";
  639. this.ckbWrap.Size = new System.Drawing.Size(72, 16);
  640. this.ckbWrap.TabIndex = 13;
  641. this.ckbWrap.Text = "自动换行";
  642. this.ckbWrap.UseVisualStyleBackColor = false;
  643. //
  644. // btnOK
  645. //
  646. this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  647. this.btnOK.BackColor = System.Drawing.Color.Transparent;
  648. this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
  649. this.btnOK.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  650. this.btnOK.Location = new System.Drawing.Point(221, 439);
  651. this.btnOK.Name = "btnOK";
  652. this.btnOK.Size = new System.Drawing.Size(85, 33);
  653. this.btnOK.TabIndex = 14;
  654. this.btnOK.Text = "确定";
  655. this.btnOK.UseVisualStyleBackColor = true;
  656. this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
  657. //
  658. // btnCancel
  659. //
  660. this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  661. this.btnCancel.BackColor = System.Drawing.Color.Transparent;
  662. this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
  663. this.btnCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  664. this.btnCancel.Location = new System.Drawing.Point(312, 439);
  665. this.btnCancel.Name = "btnCancel";
  666. this.btnCancel.Size = new System.Drawing.Size(85, 33);
  667. this.btnCancel.TabIndex = 15;
  668. this.btnCancel.Text = "取消";
  669. this.btnCancel.UseVisualStyleBackColor = true;
  670. //
  671. // chkFixedRatio
  672. //
  673. this.chkFixedRatio.AutoSize = true;
  674. this.chkFixedRatio.BackColor = System.Drawing.Color.Transparent;
  675. this.chkFixedRatio.Location = new System.Drawing.Point(215, 413);
  676. this.chkFixedRatio.Name = "chkFixedRatio";
  677. this.chkFixedRatio.Size = new System.Drawing.Size(84, 16);
  678. this.chkFixedRatio.TabIndex = 18;
  679. this.chkFixedRatio.Text = "长宽比固定";
  680. this.chkFixedRatio.UseVisualStyleBackColor = false;
  681. //
  682. // chkM
  683. //
  684. this.chkM.AutoSize = true;
  685. this.chkM.BackColor = System.Drawing.Color.Transparent;
  686. this.chkM.Location = new System.Drawing.Point(161, 413);
  687. this.chkM.Name = "chkM";
  688. this.chkM.Size = new System.Drawing.Size(48, 16);
  689. this.chkM.TabIndex = 17;
  690. this.chkM.Text = "余白";
  691. this.chkM.UseVisualStyleBackColor = false;
  692. //
  693. // chkPic
  694. //
  695. this.chkPic.AutoSize = true;
  696. this.chkPic.BackColor = System.Drawing.Color.Transparent;
  697. this.chkPic.Location = new System.Drawing.Point(95, 413);
  698. this.chkPic.Name = "chkPic";
  699. this.chkPic.Size = new System.Drawing.Size(60, 16);
  700. this.chkPic.TabIndex = 16;
  701. this.chkPic.Text = "图片列";
  702. this.chkPic.UseVisualStyleBackColor = false;
  703. this.chkPic.Visible = false;
  704. this.chkPic.CheckedChanged += new System.EventHandler(this.chkPic_CheckedChanged);
  705. //
  706. // TextItemSetting
  707. //
  708. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  709. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  710. this.BackColor = System.Drawing.SystemColors.Window;
  711. this.ClientSize = new System.Drawing.Size(409, 502);
  712. this.Controls.Add(this.chkFixedRatio);
  713. this.Controls.Add(this.chkM);
  714. this.Controls.Add(this.chkPic);
  715. this.Controls.Add(this.btnCancel);
  716. this.Controls.Add(this.ckbWrap);
  717. this.Controls.Add(this.btnFont);
  718. this.Controls.Add(this.btnOK);
  719. this.Controls.Add(this.btnSelectColor);
  720. this.Controls.Add(this.lblPreview);
  721. this.Controls.Add(this.label22);
  722. this.Controls.Add(this.label23);
  723. this.Controls.Add(this.txtPreview);
  724. this.Controls.Add(this.ddlDefaultValue);
  725. this.Controls.Add(this.groupBox2);
  726. this.Controls.Add(this.ddlTextFormat);
  727. this.Controls.Add(this.txtItemName);
  728. this.Controls.Add(this.lblItemName);
  729. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  730. this.Name = "TextItemSetting";
  731. this.ShowIcon = true;
  732. this.Text = "文本设置";
  733. this.Shown += new System.EventHandler(this.TextItemSetting_Shown);
  734. this.Controls.SetChildIndex(this.pnlBack, 0);
  735. this.Controls.SetChildIndex(this.lblItemName, 0);
  736. this.Controls.SetChildIndex(this.txtItemName, 0);
  737. this.Controls.SetChildIndex(this.ddlTextFormat, 0);
  738. this.Controls.SetChildIndex(this.groupBox2, 0);
  739. this.Controls.SetChildIndex(this.ddlDefaultValue, 0);
  740. this.Controls.SetChildIndex(this.txtPreview, 0);
  741. this.Controls.SetChildIndex(this.label23, 0);
  742. this.Controls.SetChildIndex(this.label22, 0);
  743. this.Controls.SetChildIndex(this.lblPreview, 0);
  744. this.Controls.SetChildIndex(this.btnSelectColor, 0);
  745. this.Controls.SetChildIndex(this.btnOK, 0);
  746. this.Controls.SetChildIndex(this.btnFont, 0);
  747. this.Controls.SetChildIndex(this.ckbWrap, 0);
  748. this.Controls.SetChildIndex(this.btnCancel, 0);
  749. this.Controls.SetChildIndex(this.chkPic, 0);
  750. this.Controls.SetChildIndex(this.chkM, 0);
  751. this.Controls.SetChildIndex(this.chkFixedRatio, 0);
  752. this.grbTextAlignment.ResumeLayout(false);
  753. this.grbTextAlignment.PerformLayout();
  754. ((System.ComponentModel.ISupportInitialize)(this.numLineSpace)).EndInit();
  755. ((System.ComponentModel.ISupportInitialize)(this.numCharSpace)).EndInit();
  756. ((System.ComponentModel.ISupportInitialize)(this.numWidth)).EndInit();
  757. ((System.ComponentModel.ISupportInitialize)(this.numHeight)).EndInit();
  758. ((System.ComponentModel.ISupportInitialize)(this.numLoctionY)).EndInit();
  759. ((System.ComponentModel.ISupportInitialize)(this.numLoctionX)).EndInit();
  760. ((System.ComponentModel.ISupportInitialize)(this.numCharCount)).EndInit();
  761. this.groupBox2.ResumeLayout(false);
  762. this.groupBox2.PerformLayout();
  763. this.grbTextAlignmentV.ResumeLayout(false);
  764. this.grbTextAlignmentV.PerformLayout();
  765. this.ResumeLayout(false);
  766. this.PerformLayout();
  767. }
  768. #endregion
  769. private System.Windows.Forms.GroupBox grbTextAlignment;
  770. private System.Windows.Forms.Label label7;
  771. private System.Windows.Forms.NumericUpDown numLineSpace;
  772. private System.Windows.Forms.Label label8;
  773. private System.Windows.Forms.Label label9;
  774. private System.Windows.Forms.Label label10;
  775. private System.Windows.Forms.NumericUpDown numCharSpace;
  776. private System.Windows.Forms.Label label11;
  777. private System.Windows.Forms.Label label12;
  778. private System.Windows.Forms.NumericUpDown numWidth;
  779. private System.Windows.Forms.Label label13;
  780. private System.Windows.Forms.Label label14;
  781. private System.Windows.Forms.NumericUpDown numHeight;
  782. private System.Windows.Forms.Label label15;
  783. private System.Windows.Forms.Label label16;
  784. private System.Windows.Forms.NumericUpDown numLoctionY;
  785. private System.Windows.Forms.Label label17;
  786. private System.Windows.Forms.Label label18;
  787. private System.Windows.Forms.NumericUpDown numLoctionX;
  788. private System.Windows.Forms.RadioButton rbtnEvenness;
  789. private System.Windows.Forms.RadioButton rbtnRight;
  790. private System.Windows.Forms.RadioButton rbtnCenter;
  791. private System.Windows.Forms.RadioButton rbtnLeft;
  792. private System.Windows.Forms.Label label19;
  793. private System.Windows.Forms.NumericUpDown numCharCount;
  794. private System.Windows.Forms.TextBox txtPreview;
  795. private System.Windows.Forms.Label lblPreview;
  796. private System.Windows.Forms.ComboBox ddlDefaultValue;
  797. private System.Windows.Forms.ComboBox ddlTextFormat;
  798. private System.Windows.Forms.Label label22;
  799. private System.Windows.Forms.Label label23;
  800. private System.Windows.Forms.Button btnSelectColor;
  801. private System.Windows.Forms.ColorDialog colorDialog;
  802. private System.Windows.Forms.Label lblItemName;
  803. private System.Windows.Forms.TextBox txtItemName;
  804. private System.Windows.Forms.ToolTip toolTip;
  805. private System.Windows.Forms.GroupBox groupBox2;
  806. private System.Windows.Forms.FontDialog fontDialog;
  807. private System.Windows.Forms.Button btnFont;
  808. private System.Windows.Forms.CheckBox ckbWrap;
  809. private Dongke.WinForm.Controls.BtnButton btnOK;
  810. private Dongke.WinForm.Controls.BtnButton btnCancel;
  811. public System.Windows.Forms.CheckBox chkFixedRatio;
  812. public System.Windows.Forms.CheckBox chkM;
  813. public System.Windows.Forms.CheckBox chkPic;
  814. private System.Windows.Forms.GroupBox grbTextAlignmentV;
  815. private System.Windows.Forms.RadioButton rbtnBottom;
  816. private System.Windows.Forms.RadioButton rbtnCenterV;
  817. private System.Windows.Forms.RadioButton rbtnTop;
  818. }
  819. }