ReaderMainForm.Designer.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. namespace WindowsFormsApp4
  2. {
  3. partial class ReaderMainForm
  4. {
  5. private System.ComponentModel.IContainer components = null;
  6. // Новые элементы хедера
  7. private System.Windows.Forms.Panel headerPanel;
  8. private System.Windows.Forms.PictureBox pictureBoxLogo;
  9. private System.Windows.Forms.Label headerTitle;
  10. private System.Windows.Forms.Label labelLibraryName;
  11. // Существующие элементы
  12. private System.Windows.Forms.Label labelWelcome;
  13. private System.Windows.Forms.TextBox txtSearch;
  14. private System.Windows.Forms.Button btnSearch;
  15. private System.Windows.Forms.DataGridView dataGridViewBooks;
  16. private System.Windows.Forms.TabControl tabControl;
  17. private System.Windows.Forms.TabPage tabPageSearch;
  18. private System.Windows.Forms.TabPage tabPageMyBooks;
  19. private System.Windows.Forms.DataGridView dataGridViewMyLoans;
  20. private System.Windows.Forms.Button btnExtend;
  21. private System.Windows.Forms.Button btnLogout;
  22. private System.Windows.Forms.Label labelTitle; // оставим для совместимости, но не используем
  23. protected override void Dispose(bool disposing)
  24. {
  25. if (disposing && (components != null))
  26. {
  27. components.Dispose();
  28. }
  29. base.Dispose(disposing);
  30. }
  31. private void InitializeComponent()
  32. {
  33. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReaderMainForm));
  34. this.headerPanel = new System.Windows.Forms.Panel();
  35. this.pictureBoxLogo = new System.Windows.Forms.PictureBox();
  36. this.headerTitle = new System.Windows.Forms.Label();
  37. this.labelLibraryName = new System.Windows.Forms.Label();
  38. this.btnLogout = new System.Windows.Forms.Button();
  39. this.labelWelcome = new System.Windows.Forms.Label();
  40. this.txtSearch = new System.Windows.Forms.TextBox();
  41. this.btnSearch = new System.Windows.Forms.Button();
  42. this.dataGridViewBooks = new System.Windows.Forms.DataGridView();
  43. this.tabControl = new System.Windows.Forms.TabControl();
  44. this.tabPageSearch = new System.Windows.Forms.TabPage();
  45. this.tabPageMyBooks = new System.Windows.Forms.TabPage();
  46. this.dataGridViewMyLoans = new System.Windows.Forms.DataGridView();
  47. this.btnExtend = new System.Windows.Forms.Button();
  48. this.labelTitle = new System.Windows.Forms.Label();
  49. this.headerPanel.SuspendLayout();
  50. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).BeginInit();
  51. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewBooks)).BeginInit();
  52. this.tabControl.SuspendLayout();
  53. this.tabPageSearch.SuspendLayout();
  54. this.tabPageMyBooks.SuspendLayout();
  55. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewMyLoans)).BeginInit();
  56. this.SuspendLayout();
  57. //
  58. // headerPanel
  59. //
  60. this.headerPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  61. this.headerPanel.Controls.Add(this.pictureBoxLogo);
  62. this.headerPanel.Controls.Add(this.headerTitle);
  63. this.headerPanel.Controls.Add(this.labelLibraryName);
  64. this.headerPanel.Controls.Add(this.btnLogout);
  65. this.headerPanel.Controls.Add(this.labelWelcome);
  66. this.headerPanel.Dock = System.Windows.Forms.DockStyle.Top;
  67. this.headerPanel.Location = new System.Drawing.Point(0, 0);
  68. this.headerPanel.Name = "headerPanel";
  69. this.headerPanel.Size = new System.Drawing.Size(950, 110);
  70. this.headerPanel.TabIndex = 100;
  71. //
  72. // pictureBoxLogo
  73. //
  74. this.pictureBoxLogo.BackColor = System.Drawing.Color.Transparent;
  75. this.pictureBoxLogo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxLogo.Image")));
  76. this.pictureBoxLogo.Location = new System.Drawing.Point(20, 15);
  77. this.pictureBoxLogo.Name = "pictureBoxLogo";
  78. this.pictureBoxLogo.Size = new System.Drawing.Size(80, 80);
  79. this.pictureBoxLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  80. this.pictureBoxLogo.TabIndex = 0;
  81. this.pictureBoxLogo.TabStop = false;
  82. //
  83. // headerTitle
  84. //
  85. this.headerTitle.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold);
  86. this.headerTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  87. this.headerTitle.Location = new System.Drawing.Point(120, 20);
  88. this.headerTitle.Name = "headerTitle";
  89. this.headerTitle.Size = new System.Drawing.Size(500, 40);
  90. this.headerTitle.TabIndex = 5;
  91. this.headerTitle.Text = "Библиотечный фонд города";
  92. this.headerTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  93. //
  94. // labelLibraryName
  95. //
  96. this.labelLibraryName.AutoSize = true;
  97. this.labelLibraryName.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  98. this.labelLibraryName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  99. this.labelLibraryName.Location = new System.Drawing.Point(122, 65);
  100. this.labelLibraryName.Name = "labelLibraryName";
  101. this.labelLibraryName.Size = new System.Drawing.Size(83, 15);
  102. this.labelLibraryName.TabIndex = 4;
  103. this.labelLibraryName.Text = "Библиотека: ";
  104. //
  105. // btnLogout
  106. //
  107. this.btnLogout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  108. this.btnLogout.FlatAppearance.BorderSize = 0;
  109. this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  110. this.btnLogout.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  111. this.btnLogout.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  112. this.btnLogout.Location = new System.Drawing.Point(769, 55);
  113. this.btnLogout.Name = "btnLogout";
  114. this.btnLogout.Size = new System.Drawing.Size(100, 30);
  115. this.btnLogout.TabIndex = 0;
  116. this.btnLogout.Text = "Выйти";
  117. this.btnLogout.UseVisualStyleBackColor = false;
  118. this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click);
  119. //
  120. // labelWelcome
  121. //
  122. this.labelWelcome.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  123. this.labelWelcome.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  124. this.labelWelcome.Location = new System.Drawing.Point(649, 20);
  125. this.labelWelcome.Name = "labelWelcome";
  126. this.labelWelcome.Size = new System.Drawing.Size(200, 20);
  127. this.labelWelcome.TabIndex = 3;
  128. this.labelWelcome.Text = "Читатель: ";
  129. this.labelWelcome.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  130. this.labelWelcome.Click += new System.EventHandler(this.labelWelcome_Click);
  131. //
  132. // txtSearch
  133. //
  134. this.txtSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  135. this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  136. this.txtSearch.Font = new System.Drawing.Font("Segoe UI", 11F);
  137. this.txtSearch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  138. this.txtSearch.Location = new System.Drawing.Point(20, 20);
  139. this.txtSearch.Name = "txtSearch";
  140. this.txtSearch.Size = new System.Drawing.Size(400, 27);
  141. this.txtSearch.TabIndex = 0;
  142. this.txtSearch.Text = "Введите название или автора";
  143. //
  144. // btnSearch
  145. //
  146. this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  147. this.btnSearch.FlatAppearance.BorderSize = 0;
  148. this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  149. this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
  150. this.btnSearch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  151. this.btnSearch.Location = new System.Drawing.Point(440, 18);
  152. this.btnSearch.Name = "btnSearch";
  153. this.btnSearch.Size = new System.Drawing.Size(120, 30);
  154. this.btnSearch.TabIndex = 1;
  155. this.btnSearch.Text = "Найти";
  156. this.btnSearch.UseVisualStyleBackColor = false;
  157. this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
  158. //
  159. // dataGridViewBooks
  160. //
  161. this.dataGridViewBooks.AllowUserToAddRows = false;
  162. this.dataGridViewBooks.AllowUserToDeleteRows = false;
  163. this.dataGridViewBooks.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  164. this.dataGridViewBooks.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  165. this.dataGridViewBooks.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  166. this.dataGridViewBooks.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  167. this.dataGridViewBooks.Location = new System.Drawing.Point(20, 60);
  168. this.dataGridViewBooks.Name = "dataGridViewBooks";
  169. this.dataGridViewBooks.ReadOnly = true;
  170. this.dataGridViewBooks.RowHeadersVisible = false;
  171. this.dataGridViewBooks.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  172. this.dataGridViewBooks.Size = new System.Drawing.Size(860, 390);
  173. this.dataGridViewBooks.TabIndex = 2;
  174. //
  175. // tabControl
  176. //
  177. this.tabControl.Controls.Add(this.tabPageSearch);
  178. this.tabControl.Controls.Add(this.tabPageMyBooks);
  179. this.tabControl.Font = new System.Drawing.Font("Segoe UI", 9F);
  180. this.tabControl.Location = new System.Drawing.Point(20, 130);
  181. this.tabControl.Name = "tabControl";
  182. this.tabControl.SelectedIndex = 0;
  183. this.tabControl.Size = new System.Drawing.Size(910, 500);
  184. this.tabControl.TabIndex = 2;
  185. //
  186. // tabPageSearch
  187. //
  188. this.tabPageSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  189. this.tabPageSearch.Controls.Add(this.txtSearch);
  190. this.tabPageSearch.Controls.Add(this.btnSearch);
  191. this.tabPageSearch.Controls.Add(this.dataGridViewBooks);
  192. this.tabPageSearch.Location = new System.Drawing.Point(4, 24);
  193. this.tabPageSearch.Name = "tabPageSearch";
  194. this.tabPageSearch.Padding = new System.Windows.Forms.Padding(3);
  195. this.tabPageSearch.Size = new System.Drawing.Size(902, 472);
  196. this.tabPageSearch.TabIndex = 0;
  197. this.tabPageSearch.Text = "Поиск книг";
  198. //
  199. // tabPageMyBooks
  200. //
  201. this.tabPageMyBooks.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  202. this.tabPageMyBooks.Controls.Add(this.dataGridViewMyLoans);
  203. this.tabPageMyBooks.Controls.Add(this.btnExtend);
  204. this.tabPageMyBooks.Location = new System.Drawing.Point(4, 24);
  205. this.tabPageMyBooks.Name = "tabPageMyBooks";
  206. this.tabPageMyBooks.Padding = new System.Windows.Forms.Padding(3);
  207. this.tabPageMyBooks.Size = new System.Drawing.Size(902, 472);
  208. this.tabPageMyBooks.TabIndex = 1;
  209. this.tabPageMyBooks.Text = "Мои книги";
  210. //
  211. // dataGridViewMyLoans
  212. //
  213. this.dataGridViewMyLoans.AllowUserToAddRows = false;
  214. this.dataGridViewMyLoans.AllowUserToDeleteRows = false;
  215. this.dataGridViewMyLoans.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  216. this.dataGridViewMyLoans.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  217. this.dataGridViewMyLoans.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  218. this.dataGridViewMyLoans.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  219. this.dataGridViewMyLoans.Location = new System.Drawing.Point(20, 20);
  220. this.dataGridViewMyLoans.Name = "dataGridViewMyLoans";
  221. this.dataGridViewMyLoans.ReadOnly = true;
  222. this.dataGridViewMyLoans.RowHeadersVisible = false;
  223. this.dataGridViewMyLoans.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  224. this.dataGridViewMyLoans.Size = new System.Drawing.Size(860, 400);
  225. this.dataGridViewMyLoans.TabIndex = 0;
  226. //
  227. // btnExtend
  228. //
  229. this.btnExtend.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  230. this.btnExtend.FlatAppearance.BorderSize = 0;
  231. this.btnExtend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  232. this.btnExtend.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
  233. this.btnExtend.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  234. this.btnExtend.Location = new System.Drawing.Point(380, 430);
  235. this.btnExtend.Name = "btnExtend";
  236. this.btnExtend.Size = new System.Drawing.Size(180, 35);
  237. this.btnExtend.TabIndex = 1;
  238. this.btnExtend.Text = "Продлить книгу";
  239. this.btnExtend.UseVisualStyleBackColor = false;
  240. this.btnExtend.Click += new System.EventHandler(this.btnExtend_Click);
  241. //
  242. // labelTitle
  243. //
  244. this.labelTitle.Location = new System.Drawing.Point(0, 0);
  245. this.labelTitle.Name = "labelTitle";
  246. this.labelTitle.Size = new System.Drawing.Size(100, 23);
  247. this.labelTitle.TabIndex = 101;
  248. this.labelTitle.Visible = false;
  249. //
  250. // ReaderMainForm
  251. //
  252. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
  253. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  254. this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  255. this.ClientSize = new System.Drawing.Size(950, 650);
  256. this.Controls.Add(this.tabControl);
  257. this.Controls.Add(this.headerPanel);
  258. this.Controls.Add(this.labelTitle);
  259. this.Font = new System.Drawing.Font("Segoe UI", 9F);
  260. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  261. this.Name = "ReaderMainForm";
  262. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  263. this.Text = "Читатель - Библиотечная система";
  264. this.Load += new System.EventHandler(this.ReaderMainForm_Load);
  265. this.headerPanel.ResumeLayout(false);
  266. this.headerPanel.PerformLayout();
  267. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).EndInit();
  268. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewBooks)).EndInit();
  269. this.tabControl.ResumeLayout(false);
  270. this.tabPageSearch.ResumeLayout(false);
  271. this.tabPageSearch.PerformLayout();
  272. this.tabPageMyBooks.ResumeLayout(false);
  273. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewMyLoans)).EndInit();
  274. this.ResumeLayout(false);
  275. }
  276. }
  277. }