PageRenderTime 52ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/src/WordSVN/SvnRibbon.Designer.cs

#
C# | 233 lines | 158 code | 7 blank | 68 comment | 3 complexity | e1b6b59ff10d336949cecba667025048 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. namespace WordSVN {
  2. partial class SvnRibbon {
  3. /// <summary>
  4. /// Required designer variable.
  5. /// </summary>
  6. private System.ComponentModel.IContainer components = null;
  7. /// <summary>
  8. /// Clean up any resources being used.
  9. /// </summary>
  10. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  11. protected override void Dispose(bool disposing) {
  12. if (disposing && (components != null)) {
  13. components.Dispose();
  14. }
  15. base.Dispose(disposing);
  16. }
  17. #region Component Designer generated code
  18. /// <summary>
  19. /// Required method for Designer support - do not modify
  20. /// the contents of this method with the code editor.
  21. /// </summary>
  22. private void InitializeComponent() {
  23. this.officeSvnTab = new Microsoft.Office.Tools.Ribbon.RibbonTab();
  24. this.lockGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup();
  25. this.getLockButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();
  26. this.releaseLockButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();
  27. this.commitGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup();
  28. this.addButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();
  29. this.revertButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();
  30. this.commentEditBox = new Microsoft.Office.Tools.Ribbon.RibbonEditBox();
  31. this.commitButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();
  32. this.updateButton = new Microsoft.Office.Tools.Ribbon.RibbonButton();
  33. this.svnInfoGroup = new Microsoft.Office.Tools.Ribbon.RibbonGroup();
  34. this.repositoryPathInfoLabel = new Microsoft.Office.Tools.Ribbon.RibbonLabel();
  35. this.revisionInfoLabel = new Microsoft.Office.Tools.Ribbon.RibbonLabel();
  36. this.statusInfoLabel = new Microsoft.Office.Tools.Ribbon.RibbonLabel();
  37. this.separator1 = new Microsoft.Office.Tools.Ribbon.RibbonSeparator();
  38. this.repositoryPathLabel = new Microsoft.Office.Tools.Ribbon.RibbonLabel();
  39. this.revisionLabel = new Microsoft.Office.Tools.Ribbon.RibbonLabel();
  40. this.statusLabel = new Microsoft.Office.Tools.Ribbon.RibbonLabel();
  41. this.officeSvnTab.SuspendLayout();
  42. this.lockGroup.SuspendLayout();
  43. this.commitGroup.SuspendLayout();
  44. this.svnInfoGroup.SuspendLayout();
  45. this.SuspendLayout();
  46. //
  47. // officeSvnTab
  48. //
  49. this.officeSvnTab.Groups.Add(this.lockGroup);
  50. this.officeSvnTab.Groups.Add(this.commitGroup);
  51. this.officeSvnTab.Groups.Add(this.svnInfoGroup);
  52. this.officeSvnTab.Label = "OfficeSVN";
  53. this.officeSvnTab.Name = "officeSvnTab";
  54. //
  55. // lockGroup
  56. //
  57. this.lockGroup.Items.Add(this.getLockButton);
  58. this.lockGroup.Items.Add(this.releaseLockButton);
  59. this.lockGroup.Label = "Lock";
  60. this.lockGroup.Name = "lockGroup";
  61. //
  62. // getLockButton
  63. //
  64. this.getLockButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  65. this.getLockButton.Image = global::WordSVN.Properties.Resources._lock1;
  66. this.getLockButton.Label = "Get lock";
  67. this.getLockButton.Name = "getLockButton";
  68. this.getLockButton.ScreenTip = "Get lock";
  69. this.getLockButton.ShowImage = true;
  70. this.getLockButton.SuperTip = "Get the exclusive lock for the current document.";
  71. this.getLockButton.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.getLockButton_Click);
  72. //
  73. // releaseLockButton
  74. //
  75. this.releaseLockButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  76. this.releaseLockButton.Image = global::WordSVN.Properties.Resources.lock_open1;
  77. this.releaseLockButton.Label = "Release lock";
  78. this.releaseLockButton.Name = "releaseLockButton";
  79. this.releaseLockButton.ScreenTip = "Release lock";
  80. this.releaseLockButton.ShowImage = true;
  81. this.releaseLockButton.SuperTip = "Release the lock of the current document.";
  82. this.releaseLockButton.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.releaseLockButton_Click);
  83. //
  84. // commitGroup
  85. //
  86. this.commitGroup.Items.Add(this.addButton);
  87. this.commitGroup.Items.Add(this.revertButton);
  88. this.commitGroup.Items.Add(this.commentEditBox);
  89. this.commitGroup.Items.Add(this.commitButton);
  90. this.commitGroup.Items.Add(this.updateButton);
  91. this.commitGroup.Label = "Update & Commit";
  92. this.commitGroup.Name = "commitGroup";
  93. //
  94. // addButton
  95. //
  96. this.addButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  97. this.addButton.Image = global::WordSVN.Properties.Resources.add2;
  98. this.addButton.Label = "Add";
  99. this.addButton.Name = "addButton";
  100. this.addButton.ShowImage = true;
  101. this.addButton.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.addButton_Click);
  102. //
  103. // revertButton
  104. //
  105. this.revertButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  106. this.revertButton.Image = global::WordSVN.Properties.Resources.green_undo;
  107. this.revertButton.Label = "Revert";
  108. this.revertButton.Name = "revertButton";
  109. this.revertButton.ScreenTip = "Revert changes";
  110. this.revertButton.ShowImage = true;
  111. this.revertButton.SuperTip = "This will revert the changes that you have made to your working copy.";
  112. this.revertButton.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.revertButton_Click);
  113. //
  114. // commentEditBox
  115. //
  116. this.commentEditBox.Label = "Comment:";
  117. this.commentEditBox.Name = "commentEditBox";
  118. this.commentEditBox.SizeString = "MMMMMMMMMMMMMMMMM";
  119. this.commentEditBox.Text = null;
  120. //
  121. // commitButton
  122. //
  123. this.commitButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  124. this.commitButton.Image = global::WordSVN.Properties.Resources.redo11;
  125. this.commitButton.Label = "Commit";
  126. this.commitButton.Name = "commitButton";
  127. this.commitButton.ShowImage = true;
  128. this.commitButton.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.commitButton_Click);
  129. //
  130. // updateButton
  131. //
  132. this.updateButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  133. this.updateButton.Image = global::WordSVN.Properties.Resources.update_blue;
  134. this.updateButton.Label = "Update";
  135. this.updateButton.Name = "updateButton";
  136. this.updateButton.ShowImage = true;
  137. this.updateButton.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.updateButton_Click);
  138. //
  139. // svnInfoGroup
  140. //
  141. this.svnInfoGroup.Items.Add(this.repositoryPathInfoLabel);
  142. this.svnInfoGroup.Items.Add(this.revisionInfoLabel);
  143. this.svnInfoGroup.Items.Add(this.statusInfoLabel);
  144. this.svnInfoGroup.Items.Add(this.separator1);
  145. this.svnInfoGroup.Items.Add(this.repositoryPathLabel);
  146. this.svnInfoGroup.Items.Add(this.revisionLabel);
  147. this.svnInfoGroup.Items.Add(this.statusLabel);
  148. this.svnInfoGroup.Label = "Subversion information";
  149. this.svnInfoGroup.Name = "svnInfoGroup";
  150. //
  151. // repositoryPathInfoLabel
  152. //
  153. this.repositoryPathInfoLabel.Label = "Repository path:";
  154. this.repositoryPathInfoLabel.Name = "repositoryPathInfoLabel";
  155. //
  156. // revisionInfoLabel
  157. //
  158. this.revisionInfoLabel.Label = "Revision:";
  159. this.revisionInfoLabel.Name = "revisionInfoLabel";
  160. //
  161. // statusInfoLabel
  162. //
  163. this.statusInfoLabel.Label = "Status:";
  164. this.statusInfoLabel.Name = "statusInfoLabel";
  165. //
  166. // separator1
  167. //
  168. this.separator1.Name = "separator1";
  169. //
  170. // repositoryPathLabel
  171. //
  172. this.repositoryPathLabel.Label = "$";
  173. this.repositoryPathLabel.Name = "repositoryPathLabel";
  174. //
  175. // revisionLabel
  176. //
  177. this.revisionLabel.Label = "0";
  178. this.revisionLabel.Name = "revisionLabel";
  179. //
  180. // statusLabel
  181. //
  182. this.statusLabel.Label = "Unknown";
  183. this.statusLabel.Name = "statusLabel";
  184. //
  185. // SvnRibbon
  186. //
  187. this.Name = "SvnRibbon";
  188. this.RibbonType = "Microsoft.Word.Document";
  189. this.Tabs.Add(this.officeSvnTab);
  190. this.Load += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonUIEventArgs>(this.SvnRibbon_Load);
  191. this.officeSvnTab.ResumeLayout(false);
  192. this.officeSvnTab.PerformLayout();
  193. this.lockGroup.ResumeLayout(false);
  194. this.lockGroup.PerformLayout();
  195. this.commitGroup.ResumeLayout(false);
  196. this.commitGroup.PerformLayout();
  197. this.svnInfoGroup.ResumeLayout(false);
  198. this.svnInfoGroup.PerformLayout();
  199. this.ResumeLayout(false);
  200. }
  201. #endregion
  202. internal Microsoft.Office.Tools.Ribbon.RibbonTab officeSvnTab;
  203. internal Microsoft.Office.Tools.Ribbon.RibbonGroup lockGroup;
  204. internal Microsoft.Office.Tools.Ribbon.RibbonButton updateButton;
  205. internal Microsoft.Office.Tools.Ribbon.RibbonGroup commitGroup;
  206. internal Microsoft.Office.Tools.Ribbon.RibbonButton commitButton;
  207. internal Microsoft.Office.Tools.Ribbon.RibbonEditBox commentEditBox;
  208. internal Microsoft.Office.Tools.Ribbon.RibbonButton getLockButton;
  209. internal Microsoft.Office.Tools.Ribbon.RibbonButton releaseLockButton;
  210. internal Microsoft.Office.Tools.Ribbon.RibbonButton revertButton;
  211. internal Microsoft.Office.Tools.Ribbon.RibbonButton addButton;
  212. internal Microsoft.Office.Tools.Ribbon.RibbonGroup svnInfoGroup;
  213. internal Microsoft.Office.Tools.Ribbon.RibbonLabel repositoryPathInfoLabel;
  214. internal Microsoft.Office.Tools.Ribbon.RibbonLabel revisionInfoLabel;
  215. internal Microsoft.Office.Tools.Ribbon.RibbonLabel statusInfoLabel;
  216. internal Microsoft.Office.Tools.Ribbon.RibbonSeparator separator1;
  217. internal Microsoft.Office.Tools.Ribbon.RibbonLabel repositoryPathLabel;
  218. internal Microsoft.Office.Tools.Ribbon.RibbonLabel revisionLabel;
  219. internal Microsoft.Office.Tools.Ribbon.RibbonLabel statusLabel;
  220. }
  221. partial class ThisRibbonCollection: Microsoft.Office.Tools.Ribbon.RibbonReadOnlyCollection {
  222. internal SvnRibbon SvnRibbon {
  223. get { return this.GetRibbon<SvnRibbon>(); }
  224. }
  225. }
  226. }