MainForm.Designer.cs
上传用户:linger1010
上传日期:2008-12-08
资源大小:561k
文件大小:6k
源码类别:

Windows Mobile

开发平台:

C#

  1. namespace UsingSystemFont
  2. {
  3. partial class MainForm
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. private System.Windows.Forms.MainMenu mainMenu1;
  10. /// <summary>
  11. /// Clean up any resources being used.
  12. /// </summary>
  13. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if(disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22. #region Windows Form Designer generated code
  23. /// <summary>
  24. /// Required method for Designer support - do not modify
  25. /// the contents of this method with the code editor.
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. this.mainMenu1 = new System.Windows.Forms.MainMenu();
  30. this.m_lblFontFamily = new System.Windows.Forms.Label();
  31. this.m_cmbFamilies = new System.Windows.Forms.ComboBox();
  32. this.m_lblSize = new System.Windows.Forms.Label();
  33. this.m_cmbSize = new System.Windows.Forms.ComboBox();
  34. this.m_lblText = new System.Windows.Forms.Label();
  35. this.m_txtText = new System.Windows.Forms.TextBox();
  36. this.m_chkBold = new System.Windows.Forms.CheckBox();
  37. this.m_chkItalic = new System.Windows.Forms.CheckBox();
  38. this.m_chkStrikeout = new System.Windows.Forms.CheckBox();
  39. this.m_chkUnderline = new System.Windows.Forms.CheckBox();
  40. this.SuspendLayout();
  41. // 
  42. // m_lblFontFamily
  43. // 
  44. this.m_lblFontFamily.Location = new System.Drawing.Point(3, 32);
  45. this.m_lblFontFamily.Name = "m_lblFontFamily";
  46. this.m_lblFontFamily.Size = new System.Drawing.Size(78, 20);
  47. this.m_lblFontFamily.Text = "Font Family:";
  48. // 
  49. // m_cmbFamilies
  50. // 
  51. this.m_cmbFamilies.Location = new System.Drawing.Point(87, 30);
  52. this.m_cmbFamilies.Name = "m_cmbFamilies";
  53. this.m_cmbFamilies.Size = new System.Drawing.Size(150, 22);
  54. this.m_cmbFamilies.TabIndex = 1;
  55. this.m_cmbFamilies.SelectedIndexChanged += new System.EventHandler(this.m_onNeedRedraw);
  56. // 
  57. // m_lblSize
  58. // 
  59. this.m_lblSize.Location = new System.Drawing.Point(3, 60);
  60. this.m_lblSize.Name = "m_lblSize";
  61. this.m_lblSize.Size = new System.Drawing.Size(78, 20);
  62. this.m_lblSize.Text = "em Size:";
  63. // 
  64. // m_cmbSize
  65. // 
  66. this.m_cmbSize.Items.Add("8");
  67. this.m_cmbSize.Items.Add("9");
  68. this.m_cmbSize.Items.Add("10");
  69. this.m_cmbSize.Items.Add("12");
  70. this.m_cmbSize.Items.Add("14");
  71. this.m_cmbSize.Items.Add("18");
  72. this.m_cmbSize.Items.Add("20");
  73. this.m_cmbSize.Items.Add("22");
  74. this.m_cmbSize.Items.Add("24");
  75. this.m_cmbSize.Items.Add("36");
  76. this.m_cmbSize.Items.Add("48");
  77. this.m_cmbSize.Location = new System.Drawing.Point(87, 58);
  78. this.m_cmbSize.Name = "m_cmbSize";
  79. this.m_cmbSize.Size = new System.Drawing.Size(150, 22);
  80. this.m_cmbSize.TabIndex = 3;
  81. this.m_cmbSize.SelectedIndexChanged += new System.EventHandler(this.m_onNeedRedraw);
  82. // 
  83. // m_lblText
  84. // 
  85. this.m_lblText.Location = new System.Drawing.Point(3, 4);
  86. this.m_lblText.Name = "m_lblText";
  87. this.m_lblText.Size = new System.Drawing.Size(78, 20);
  88. this.m_lblText.Text = "Text:";
  89. // 
  90. // m_txtText
  91. // 
  92. this.m_txtText.Location = new System.Drawing.Point(87, 3);
  93. this.m_txtText.Name = "m_txtText";
  94. this.m_txtText.Size = new System.Drawing.Size(150, 21);
  95. this.m_txtText.TabIndex = 7;
  96. this.m_txtText.Text = "Mobile";
  97. this.m_txtText.TextChanged += new System.EventHandler(this.m_onNeedRedraw);
  98. // 
  99. // m_chkBold
  100. // 
  101. this.m_chkBold.Location = new System.Drawing.Point(3, 86);
  102. this.m_chkBold.Name = "m_chkBold";
  103. this.m_chkBold.Size = new System.Drawing.Size(94, 20);
  104. this.m_chkBold.TabIndex = 8;
  105. this.m_chkBold.Text = "Bold";
  106. this.m_chkBold.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
  107. // 
  108. // m_chkItalic
  109. // 
  110. this.m_chkItalic.Location = new System.Drawing.Point(103, 86);
  111. this.m_chkItalic.Name = "m_chkItalic";
  112. this.m_chkItalic.Size = new System.Drawing.Size(94, 20);
  113. this.m_chkItalic.TabIndex = 8;
  114. this.m_chkItalic.Text = "Italic";
  115. this.m_chkItalic.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
  116. // 
  117. // m_chkStrikeout
  118. // 
  119. this.m_chkStrikeout.Location = new System.Drawing.Point(103, 112);
  120. this.m_chkStrikeout.Name = "m_chkStrikeout";
  121. this.m_chkStrikeout.Size = new System.Drawing.Size(94, 20);
  122. this.m_chkStrikeout.TabIndex = 8;
  123. this.m_chkStrikeout.Text = "Strikeout";
  124. this.m_chkStrikeout.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
  125. // 
  126. // m_chkUnderline
  127. // 
  128. this.m_chkUnderline.Location = new System.Drawing.Point(3, 112);
  129. this.m_chkUnderline.Name = "m_chkUnderline";
  130. this.m_chkUnderline.Size = new System.Drawing.Size(94, 20);
  131. this.m_chkUnderline.TabIndex = 8;
  132. this.m_chkUnderline.Text = "Underline";
  133. this.m_chkUnderline.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
  134. // 
  135. // MainForm
  136. // 
  137. this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
  138. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
  139. this.AutoScroll = true;
  140. this.ClientSize = new System.Drawing.Size(240, 268);
  141. this.Controls.Add(this.m_chkUnderline);
  142. this.Controls.Add(this.m_chkStrikeout);
  143. this.Controls.Add(this.m_chkItalic);
  144. this.Controls.Add(this.m_chkBold);
  145. this.Controls.Add(this.m_txtText);
  146. this.Controls.Add(this.m_lblText);
  147. this.Controls.Add(this.m_cmbSize);
  148. this.Controls.Add(this.m_lblSize);
  149. this.Controls.Add(this.m_cmbFamilies);
  150. this.Controls.Add(this.m_lblFontFamily);
  151. this.Menu = this.mainMenu1;
  152. this.Name = "MainForm";
  153. this.Text = "Using System Font";
  154. this.Paint += new System.Windows.Forms.PaintEventHandler(this.MainForm_Paint);
  155. this.ResumeLayout(false);
  156. }
  157. #endregion
  158. private System.Windows.Forms.Label m_lblFontFamily;
  159. private System.Windows.Forms.ComboBox m_cmbFamilies;
  160. private System.Windows.Forms.Label m_lblSize;
  161. private System.Windows.Forms.ComboBox m_cmbSize;
  162. private System.Windows.Forms.Label m_lblText;
  163. private System.Windows.Forms.TextBox m_txtText;
  164. private System.Windows.Forms.CheckBox m_chkBold;
  165. private System.Windows.Forms.CheckBox m_chkItalic;
  166. private System.Windows.Forms.CheckBox m_chkStrikeout;
  167. private System.Windows.Forms.CheckBox m_chkUnderline;
  168. }
  169. }