PageRenderTime 63ms CodeModel.GetById 34ms RepoModel.GetById 0ms app.codeStats 1ms

/Microsoft.Office.PowerPoint.STAMP.AddIn/Controls/FormattingToolbar.Designer.cs

#
C# | 209 lines | 146 code | 7 blank | 56 comment | 3 complexity | 692259a0b5adbce396cf24dc91bdfd9f MD5 | raw file
Possible License(s): GPL-2.0
  1. namespace Microsoft.Office.PowerPoint.STAMP.Controls
  2. {
  3. partial class FormattingToolbar
  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 Component 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(FormattingToolbar));
  30. this.toolStrip = new System.Windows.Forms.ToolStrip();
  31. this.fontNameDropdown = new System.Windows.Forms.ToolStripComboBox();
  32. this.fontSizeDropdown = new System.Windows.Forms.ToolStripComboBox();
  33. this.fontStyleSeperator = new System.Windows.Forms.ToolStripSeparator();
  34. this.boldButton = new System.Windows.Forms.ToolStripButton();
  35. this.italicButton = new System.Windows.Forms.ToolStripButton();
  36. this.underlineButton = new System.Windows.Forms.ToolStripButton();
  37. this.styleAlignmentSeperator = new System.Windows.Forms.ToolStripSeparator();
  38. this.leftAlignButton = new System.Windows.Forms.ToolStripButton();
  39. this.centerAlignButton = new System.Windows.Forms.ToolStripButton();
  40. this.rightAlignButton = new System.Windows.Forms.ToolStripButton();
  41. this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
  42. this.backgroundColorSelector = new Microsoft.Office.PowerPoint.STAMP.Controls.ColorPickerButton();
  43. this.fontColorButton = new Microsoft.Office.PowerPoint.STAMP.Controls.ColorPickerButton();
  44. this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
  45. this.toolStrip.SuspendLayout();
  46. this.SuspendLayout();
  47. //
  48. // toolStrip
  49. //
  50. this.toolStrip.AllowMerge = false;
  51. this.toolStrip.CanOverflow = false;
  52. resources.ApplyResources(this.toolStrip, "toolStrip");
  53. this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
  54. this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  55. this.fontNameDropdown,
  56. this.fontSizeDropdown,
  57. this.fontStyleSeperator,
  58. this.boldButton,
  59. this.italicButton,
  60. this.underlineButton,
  61. this.styleAlignmentSeperator,
  62. this.leftAlignButton,
  63. this.centerAlignButton,
  64. this.rightAlignButton,
  65. this.toolStripSeparator});
  66. this.toolStrip.Name = "toolStrip";
  67. //
  68. // fontNameDropdown
  69. //
  70. this.fontNameDropdown.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  71. this.fontNameDropdown.Name = "fontNameDropdown";
  72. resources.ApplyResources(this.fontNameDropdown, "fontNameDropdown");
  73. this.fontNameDropdown.SelectedIndexChanged += new System.EventHandler(this.fontNameDropdown_SelectedIndexChanged);
  74. //
  75. // fontSizeDropdown
  76. //
  77. this.fontSizeDropdown.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Append;
  78. this.fontSizeDropdown.Name = "fontSizeDropdown";
  79. resources.ApplyResources(this.fontSizeDropdown, "fontSizeDropdown");
  80. this.fontSizeDropdown.TextChanged += new System.EventHandler(this.fontSizeDropdown_TextChanged);
  81. //
  82. // fontStyleSeperator
  83. //
  84. this.fontStyleSeperator.Name = "fontStyleSeperator";
  85. resources.ApplyResources(this.fontStyleSeperator, "fontStyleSeperator");
  86. //
  87. // boldButton
  88. //
  89. this.boldButton.CheckOnClick = true;
  90. this.boldButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  91. resources.ApplyResources(this.boldButton, "boldButton");
  92. this.boldButton.Name = "boldButton";
  93. this.boldButton.Click += new System.EventHandler(this.boldButton_Click);
  94. //
  95. // italicButton
  96. //
  97. this.italicButton.CheckOnClick = true;
  98. this.italicButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  99. resources.ApplyResources(this.italicButton, "italicButton");
  100. this.italicButton.Name = "italicButton";
  101. this.italicButton.Click += new System.EventHandler(this.italicButton_Click);
  102. //
  103. // underlineButton
  104. //
  105. this.underlineButton.CheckOnClick = true;
  106. this.underlineButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  107. resources.ApplyResources(this.underlineButton, "underlineButton");
  108. this.underlineButton.Name = "underlineButton";
  109. this.underlineButton.Click += new System.EventHandler(this.underlineButton_Click);
  110. //
  111. // styleAlignmentSeperator
  112. //
  113. this.styleAlignmentSeperator.Name = "styleAlignmentSeperator";
  114. resources.ApplyResources(this.styleAlignmentSeperator, "styleAlignmentSeperator");
  115. //
  116. // leftAlignButton
  117. //
  118. this.leftAlignButton.CheckOnClick = true;
  119. this.leftAlignButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  120. this.leftAlignButton.Image = global::Microsoft.Office.PowerPoint.STAMP.Properties.Resources.ParagraphLeftJustify;
  121. resources.ApplyResources(this.leftAlignButton, "leftAlignButton");
  122. this.leftAlignButton.Name = "leftAlignButton";
  123. this.leftAlignButton.Click += new System.EventHandler(this.leftAlignButton_Click);
  124. //
  125. // centerAlignButton
  126. //
  127. this.centerAlignButton.CheckOnClick = true;
  128. this.centerAlignButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  129. this.centerAlignButton.Image = global::Microsoft.Office.PowerPoint.STAMP.Properties.Resources.ParagraphCenterJustify;
  130. resources.ApplyResources(this.centerAlignButton, "centerAlignButton");
  131. this.centerAlignButton.Name = "centerAlignButton";
  132. this.centerAlignButton.Click += new System.EventHandler(this.centerAlignButton_Click);
  133. //
  134. // rightAlignButton
  135. //
  136. this.rightAlignButton.CheckOnClick = true;
  137. this.rightAlignButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  138. this.rightAlignButton.Image = global::Microsoft.Office.PowerPoint.STAMP.Properties.Resources.ParagraphRightJustify;
  139. resources.ApplyResources(this.rightAlignButton, "rightAlignButton");
  140. this.rightAlignButton.Name = "rightAlignButton";
  141. this.rightAlignButton.Click += new System.EventHandler(this.rightAlignButton_Click);
  142. //
  143. // toolStripSeparator
  144. //
  145. this.toolStripSeparator.Name = "toolStripSeparator";
  146. resources.ApplyResources(this.toolStripSeparator, "toolStripSeparator");
  147. //
  148. // backgroundColorSelector
  149. //
  150. this.backgroundColorSelector.AutomaticColor = global::Microsoft.Office.PowerPoint.STAMP.Properties.Settings.Default.DefaultBackgroundColor;
  151. this.backgroundColorSelector.BackColor = System.Drawing.Color.White;
  152. this.backgroundColorSelector.ColorIndicatorDrawer = Microsoft.Office.PowerPoint.STAMP.Controls.ColorIndicatorDrawer.RectangleIndicator;
  153. this.backgroundColorSelector.FlatAppearance.BorderSize = 0;
  154. resources.ApplyResources(this.backgroundColorSelector, "backgroundColorSelector");
  155. this.backgroundColorSelector.ForeColor = global::Microsoft.Office.PowerPoint.STAMP.Properties.Settings.Default.DefaultBackgroundColor;
  156. this.backgroundColorSelector.Name = "backgroundColorSelector";
  157. this.toolTip1.SetToolTip(this.backgroundColorSelector, resources.GetString("backgroundColorSelector.ToolTip"));
  158. this.backgroundColorSelector.UseVisualStyleBackColor = false;
  159. this.backgroundColorSelector.Changed += new System.EventHandler<Microsoft.Office.PowerPoint.STAMP.Controls.ColorButtonColorChangedEventArgs>(this.backgroundColorSelector_Changed);
  160. //
  161. // fontColorButton
  162. //
  163. this.fontColorButton.AutomaticColor = global::Microsoft.Office.PowerPoint.STAMP.Properties.Settings.Default.DefaultFontColor;
  164. this.fontColorButton.BackColor = System.Drawing.Color.White;
  165. this.fontColorButton.FlatAppearance.BorderSize = 0;
  166. resources.ApplyResources(this.fontColorButton, "fontColorButton");
  167. this.fontColorButton.ForeColor = global::Microsoft.Office.PowerPoint.STAMP.Properties.Settings.Default.DefaultFontColor;
  168. this.fontColorButton.Name = "fontColorButton";
  169. this.toolTip1.SetToolTip(this.fontColorButton, resources.GetString("fontColorButton.ToolTip"));
  170. this.fontColorButton.UseVisualStyleBackColor = false;
  171. this.fontColorButton.Changed += new System.EventHandler<Microsoft.Office.PowerPoint.STAMP.Controls.ColorButtonColorChangedEventArgs>(this.fontColorButton_Changed);
  172. //
  173. // FormattingToolbar
  174. //
  175. this.Controls.Add(this.backgroundColorSelector);
  176. this.Controls.Add(this.fontColorButton);
  177. this.Controls.Add(this.toolStrip);
  178. this.Name = "FormattingToolbar";
  179. resources.ApplyResources(this, "$this");
  180. this.toolStrip.ResumeLayout(false);
  181. this.toolStrip.PerformLayout();
  182. this.ResumeLayout(false);
  183. this.PerformLayout();
  184. }
  185. #endregion
  186. private System.Windows.Forms.ToolStrip toolStrip;
  187. private System.Windows.Forms.ToolStripComboBox fontSizeDropdown;
  188. private System.Windows.Forms.ToolStripButton boldButton;
  189. private System.Windows.Forms.ToolStripButton italicButton;
  190. private System.Windows.Forms.ToolStripButton underlineButton;
  191. private System.Windows.Forms.ToolStripButton leftAlignButton;
  192. private System.Windows.Forms.ToolStripButton centerAlignButton;
  193. private System.Windows.Forms.ToolStripButton rightAlignButton;
  194. private System.Windows.Forms.ToolStripSeparator fontStyleSeperator;
  195. private System.Windows.Forms.ToolStripSeparator styleAlignmentSeperator;
  196. private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
  197. private ColorPickerButton fontColorButton;
  198. private System.Windows.Forms.ToolStripComboBox fontNameDropdown;
  199. private ColorPickerButton backgroundColorSelector;
  200. private System.Windows.Forms.ToolTip toolTip1;
  201. }
  202. }