AdminMainForm.Designer.cs 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. namespace WindowsFormsApp4
  2. {
  3. partial class AdminMainForm
  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 headerLabel;
  10. private System.Windows.Forms.Label labelWelcome;
  11. private System.Windows.Forms.Button btnLogout;
  12. // Остальные элементы (сохраняются)
  13. private System.Windows.Forms.TabControl tabControl;
  14. private System.Windows.Forms.TabPage tabPageLogs;
  15. private System.Windows.Forms.TabPage tabPageUsers;
  16. private System.Windows.Forms.TabPage tabPageReports;
  17. private System.Windows.Forms.DataGridView dataGridViewLogs;
  18. private System.Windows.Forms.Button btnExportLogs;
  19. private System.Windows.Forms.DataGridView dataGridViewUsers;
  20. private System.Windows.Forms.Button btnAddUser;
  21. private System.Windows.Forms.Button btnEditUser;
  22. private System.Windows.Forms.Button btnDeleteUser;
  23. private System.Windows.Forms.ComboBox cmbRoleFilter;
  24. private System.Windows.Forms.GroupBox groupBoxFilters;
  25. private System.Windows.Forms.Button btnRefreshStats;
  26. private System.Windows.Forms.Label labelEnd;
  27. private System.Windows.Forms.Label labelStart;
  28. private System.Windows.Forms.DateTimePicker dateTimePickerEnd;
  29. private System.Windows.Forms.DateTimePicker dateTimePickerStart;
  30. private System.Windows.Forms.GroupBox groupBoxTopBooks;
  31. private System.Windows.Forms.Button btnExportExcel;
  32. private System.Windows.Forms.DataGridView dataGridViewTopBooks;
  33. private System.Windows.Forms.GroupBox groupBoxChart;
  34. private System.Windows.Forms.DataVisualization.Charting.Chart chartPopularBooks;
  35. protected override void Dispose(bool disposing)
  36. {
  37. if (disposing && (components != null))
  38. {
  39. components.Dispose();
  40. }
  41. base.Dispose(disposing);
  42. }
  43. private void InitializeComponent()
  44. {
  45. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdminMainForm));
  46. System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
  47. System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
  48. this.headerPanel = new System.Windows.Forms.Panel();
  49. this.pictureBoxLogo = new System.Windows.Forms.PictureBox();
  50. this.headerLabel = new System.Windows.Forms.Label();
  51. this.labelWelcome = new System.Windows.Forms.Label();
  52. this.btnLogout = new System.Windows.Forms.Button();
  53. this.tabControl = new System.Windows.Forms.TabControl();
  54. this.tabPageLogs = new System.Windows.Forms.TabPage();
  55. this.dataGridViewLogs = new System.Windows.Forms.DataGridView();
  56. this.btnExportLogs = new System.Windows.Forms.Button();
  57. this.tabPageUsers = new System.Windows.Forms.TabPage();
  58. this.cmbRoleFilter = new System.Windows.Forms.ComboBox();
  59. this.btnDeleteUser = new System.Windows.Forms.Button();
  60. this.btnEditUser = new System.Windows.Forms.Button();
  61. this.btnAddUser = new System.Windows.Forms.Button();
  62. this.dataGridViewUsers = new System.Windows.Forms.DataGridView();
  63. this.tabPageReports = new System.Windows.Forms.TabPage();
  64. this.groupBoxFilters = new System.Windows.Forms.GroupBox();
  65. this.btnRefreshStats = new System.Windows.Forms.Button();
  66. this.labelEnd = new System.Windows.Forms.Label();
  67. this.labelStart = new System.Windows.Forms.Label();
  68. this.dateTimePickerEnd = new System.Windows.Forms.DateTimePicker();
  69. this.dateTimePickerStart = new System.Windows.Forms.DateTimePicker();
  70. this.groupBoxTopBooks = new System.Windows.Forms.GroupBox();
  71. this.btnExportExcel = new System.Windows.Forms.Button();
  72. this.dataGridViewTopBooks = new System.Windows.Forms.DataGridView();
  73. this.groupBoxChart = new System.Windows.Forms.GroupBox();
  74. this.chartPopularBooks = new System.Windows.Forms.DataVisualization.Charting.Chart();
  75. this.headerPanel.SuspendLayout();
  76. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).BeginInit();
  77. this.tabControl.SuspendLayout();
  78. this.tabPageLogs.SuspendLayout();
  79. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewLogs)).BeginInit();
  80. this.tabPageUsers.SuspendLayout();
  81. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewUsers)).BeginInit();
  82. this.tabPageReports.SuspendLayout();
  83. this.groupBoxFilters.SuspendLayout();
  84. this.groupBoxTopBooks.SuspendLayout();
  85. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewTopBooks)).BeginInit();
  86. this.groupBoxChart.SuspendLayout();
  87. ((System.ComponentModel.ISupportInitialize)(this.chartPopularBooks)).BeginInit();
  88. this.SuspendLayout();
  89. //
  90. // headerPanel
  91. //
  92. this.headerPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  93. this.headerPanel.Controls.Add(this.pictureBoxLogo);
  94. this.headerPanel.Controls.Add(this.headerLabel);
  95. this.headerPanel.Controls.Add(this.labelWelcome);
  96. this.headerPanel.Controls.Add(this.btnLogout);
  97. this.headerPanel.Dock = System.Windows.Forms.DockStyle.Top;
  98. this.headerPanel.Location = new System.Drawing.Point(0, 0);
  99. this.headerPanel.Name = "headerPanel";
  100. this.headerPanel.Size = new System.Drawing.Size(1050, 90);
  101. this.headerPanel.TabIndex = 100;
  102. //
  103. // pictureBoxLogo
  104. //
  105. this.pictureBoxLogo.BackColor = System.Drawing.Color.Transparent;
  106. this.pictureBoxLogo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxLogo.Image")));
  107. this.pictureBoxLogo.Location = new System.Drawing.Point(15, 10);
  108. this.pictureBoxLogo.Name = "pictureBoxLogo";
  109. this.pictureBoxLogo.Size = new System.Drawing.Size(70, 70);
  110. this.pictureBoxLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  111. this.pictureBoxLogo.TabIndex = 0;
  112. this.pictureBoxLogo.TabStop = false;
  113. //
  114. // headerLabel
  115. //
  116. this.headerLabel.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold);
  117. this.headerLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  118. this.headerLabel.Location = new System.Drawing.Point(100, 15);
  119. this.headerLabel.Name = "headerLabel";
  120. this.headerLabel.Size = new System.Drawing.Size(500, 40);
  121. this.headerLabel.TabIndex = 1;
  122. this.headerLabel.Text = "Администрирование";
  123. this.headerLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  124. //
  125. // labelWelcome
  126. //
  127. this.labelWelcome.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
  128. this.labelWelcome.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  129. this.labelWelcome.Location = new System.Drawing.Point(750, 25);
  130. this.labelWelcome.Name = "labelWelcome";
  131. this.labelWelcome.Size = new System.Drawing.Size(200, 25);
  132. this.labelWelcome.TabIndex = 2;
  133. this.labelWelcome.Text = "Админ: ";
  134. this.labelWelcome.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  135. //
  136. // btnLogout
  137. //
  138. this.btnLogout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  139. this.btnLogout.FlatAppearance.BorderSize = 0;
  140. this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  141. this.btnLogout.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  142. this.btnLogout.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  143. this.btnLogout.Location = new System.Drawing.Point(920, 50);
  144. this.btnLogout.Name = "btnLogout";
  145. this.btnLogout.Size = new System.Drawing.Size(100, 30);
  146. this.btnLogout.TabIndex = 3;
  147. this.btnLogout.Text = "Выйти";
  148. this.btnLogout.UseVisualStyleBackColor = false;
  149. this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click);
  150. //
  151. // tabControl
  152. //
  153. this.tabControl.Controls.Add(this.tabPageLogs);
  154. this.tabControl.Controls.Add(this.tabPageUsers);
  155. this.tabControl.Controls.Add(this.tabPageReports);
  156. this.tabControl.Font = new System.Drawing.Font("Segoe UI", 9F);
  157. this.tabControl.Location = new System.Drawing.Point(15, 105);
  158. this.tabControl.Name = "tabControl";
  159. this.tabControl.SelectedIndex = 0;
  160. this.tabControl.Size = new System.Drawing.Size(1020, 550);
  161. this.tabControl.TabIndex = 0;
  162. //
  163. // tabPageLogs
  164. //
  165. this.tabPageLogs.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  166. this.tabPageLogs.Controls.Add(this.dataGridViewLogs);
  167. this.tabPageLogs.Controls.Add(this.btnExportLogs);
  168. this.tabPageLogs.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  169. this.tabPageLogs.Location = new System.Drawing.Point(4, 24);
  170. this.tabPageLogs.Name = "tabPageLogs";
  171. this.tabPageLogs.Padding = new System.Windows.Forms.Padding(3);
  172. this.tabPageLogs.Size = new System.Drawing.Size(1012, 522);
  173. this.tabPageLogs.TabIndex = 0;
  174. this.tabPageLogs.Text = "Логи системы";
  175. //
  176. // dataGridViewLogs
  177. //
  178. this.dataGridViewLogs.AllowUserToAddRows = false;
  179. this.dataGridViewLogs.AllowUserToDeleteRows = false;
  180. this.dataGridViewLogs.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  181. this.dataGridViewLogs.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  182. this.dataGridViewLogs.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  183. this.dataGridViewLogs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  184. this.dataGridViewLogs.Location = new System.Drawing.Point(10, 10);
  185. this.dataGridViewLogs.Name = "dataGridViewLogs";
  186. this.dataGridViewLogs.ReadOnly = true;
  187. this.dataGridViewLogs.RowHeadersVisible = false;
  188. this.dataGridViewLogs.Size = new System.Drawing.Size(990, 460);
  189. this.dataGridViewLogs.TabIndex = 0;
  190. //
  191. // btnExportLogs
  192. //
  193. this.btnExportLogs.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  194. this.btnExportLogs.FlatAppearance.BorderSize = 0;
  195. this.btnExportLogs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  196. this.btnExportLogs.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  197. this.btnExportLogs.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  198. this.btnExportLogs.Location = new System.Drawing.Point(10, 480);
  199. this.btnExportLogs.Name = "btnExportLogs";
  200. this.btnExportLogs.Size = new System.Drawing.Size(140, 30);
  201. this.btnExportLogs.TabIndex = 1;
  202. this.btnExportLogs.Text = "Экспорт в Excel";
  203. this.btnExportLogs.UseVisualStyleBackColor = false;
  204. this.btnExportLogs.Click += new System.EventHandler(this.btnExportLogs_Click);
  205. //
  206. // tabPageUsers
  207. //
  208. this.tabPageUsers.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  209. this.tabPageUsers.Controls.Add(this.cmbRoleFilter);
  210. this.tabPageUsers.Controls.Add(this.btnDeleteUser);
  211. this.tabPageUsers.Controls.Add(this.btnEditUser);
  212. this.tabPageUsers.Controls.Add(this.btnAddUser);
  213. this.tabPageUsers.Controls.Add(this.dataGridViewUsers);
  214. this.tabPageUsers.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  215. this.tabPageUsers.Location = new System.Drawing.Point(4, 24);
  216. this.tabPageUsers.Name = "tabPageUsers";
  217. this.tabPageUsers.Padding = new System.Windows.Forms.Padding(3);
  218. this.tabPageUsers.Size = new System.Drawing.Size(1012, 522);
  219. this.tabPageUsers.TabIndex = 1;
  220. this.tabPageUsers.Text = "Пользователи";
  221. //
  222. // cmbRoleFilter
  223. //
  224. this.cmbRoleFilter.BackColor = System.Drawing.Color.White;
  225. this.cmbRoleFilter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  226. this.cmbRoleFilter.Font = new System.Drawing.Font("Segoe UI", 9F);
  227. this.cmbRoleFilter.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  228. this.cmbRoleFilter.FormattingEnabled = true;
  229. this.cmbRoleFilter.Items.AddRange(new object[] {
  230. "Все",
  231. "reader",
  232. "employe",
  233. "admin"});
  234. this.cmbRoleFilter.Location = new System.Drawing.Point(10, 12);
  235. this.cmbRoleFilter.Name = "cmbRoleFilter";
  236. this.cmbRoleFilter.Size = new System.Drawing.Size(160, 23);
  237. this.cmbRoleFilter.TabIndex = 4;
  238. this.cmbRoleFilter.SelectedIndexChanged += new System.EventHandler(this.cmbRoleFilter_SelectedIndexChanged);
  239. //
  240. // btnDeleteUser
  241. //
  242. this.btnDeleteUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  243. this.btnDeleteUser.FlatAppearance.BorderSize = 0;
  244. this.btnDeleteUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  245. this.btnDeleteUser.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  246. this.btnDeleteUser.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  247. this.btnDeleteUser.Location = new System.Drawing.Point(850, 8);
  248. this.btnDeleteUser.Name = "btnDeleteUser";
  249. this.btnDeleteUser.Size = new System.Drawing.Size(150, 30);
  250. this.btnDeleteUser.TabIndex = 3;
  251. this.btnDeleteUser.Text = "Удалить";
  252. this.btnDeleteUser.UseVisualStyleBackColor = false;
  253. this.btnDeleteUser.Click += new System.EventHandler(this.btnDeleteUser_Click);
  254. //
  255. // btnEditUser
  256. //
  257. this.btnEditUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  258. this.btnEditUser.FlatAppearance.BorderSize = 0;
  259. this.btnEditUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  260. this.btnEditUser.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  261. this.btnEditUser.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  262. this.btnEditUser.Location = new System.Drawing.Point(690, 8);
  263. this.btnEditUser.Name = "btnEditUser";
  264. this.btnEditUser.Size = new System.Drawing.Size(150, 30);
  265. this.btnEditUser.TabIndex = 2;
  266. this.btnEditUser.Text = "Редактировать";
  267. this.btnEditUser.UseVisualStyleBackColor = false;
  268. this.btnEditUser.Click += new System.EventHandler(this.btnEditUser_Click);
  269. //
  270. // btnAddUser
  271. //
  272. this.btnAddUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  273. this.btnAddUser.FlatAppearance.BorderSize = 0;
  274. this.btnAddUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  275. this.btnAddUser.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  276. this.btnAddUser.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  277. this.btnAddUser.Location = new System.Drawing.Point(530, 8);
  278. this.btnAddUser.Name = "btnAddUser";
  279. this.btnAddUser.Size = new System.Drawing.Size(150, 30);
  280. this.btnAddUser.TabIndex = 1;
  281. this.btnAddUser.Text = "Добавить";
  282. this.btnAddUser.UseVisualStyleBackColor = false;
  283. this.btnAddUser.Click += new System.EventHandler(this.btnAddUser_Click);
  284. //
  285. // dataGridViewUsers
  286. //
  287. this.dataGridViewUsers.AllowUserToAddRows = false;
  288. this.dataGridViewUsers.AllowUserToDeleteRows = false;
  289. this.dataGridViewUsers.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  290. this.dataGridViewUsers.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  291. this.dataGridViewUsers.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  292. this.dataGridViewUsers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  293. this.dataGridViewUsers.Location = new System.Drawing.Point(10, 45);
  294. this.dataGridViewUsers.Name = "dataGridViewUsers";
  295. this.dataGridViewUsers.ReadOnly = true;
  296. this.dataGridViewUsers.RowHeadersVisible = false;
  297. this.dataGridViewUsers.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  298. this.dataGridViewUsers.Size = new System.Drawing.Size(990, 460);
  299. this.dataGridViewUsers.TabIndex = 0;
  300. this.dataGridViewUsers.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewUsers_CellContentClick_1);
  301. //
  302. // tabPageReports
  303. //
  304. this.tabPageReports.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  305. this.tabPageReports.Controls.Add(this.groupBoxFilters);
  306. this.tabPageReports.Controls.Add(this.groupBoxTopBooks);
  307. this.tabPageReports.Controls.Add(this.groupBoxChart);
  308. this.tabPageReports.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  309. this.tabPageReports.Location = new System.Drawing.Point(4, 24);
  310. this.tabPageReports.Name = "tabPageReports";
  311. this.tabPageReports.Padding = new System.Windows.Forms.Padding(3);
  312. this.tabPageReports.Size = new System.Drawing.Size(1012, 522);
  313. this.tabPageReports.TabIndex = 2;
  314. this.tabPageReports.Text = "Статистика";
  315. //
  316. // groupBoxFilters
  317. //
  318. this.groupBoxFilters.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  319. this.groupBoxFilters.Controls.Add(this.btnRefreshStats);
  320. this.groupBoxFilters.Controls.Add(this.labelEnd);
  321. this.groupBoxFilters.Controls.Add(this.labelStart);
  322. this.groupBoxFilters.Controls.Add(this.dateTimePickerEnd);
  323. this.groupBoxFilters.Controls.Add(this.dateTimePickerStart);
  324. this.groupBoxFilters.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  325. this.groupBoxFilters.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  326. this.groupBoxFilters.Location = new System.Drawing.Point(10, 10);
  327. this.groupBoxFilters.Name = "groupBoxFilters";
  328. this.groupBoxFilters.Size = new System.Drawing.Size(990, 60);
  329. this.groupBoxFilters.TabIndex = 0;
  330. this.groupBoxFilters.TabStop = false;
  331. this.groupBoxFilters.Text = "Период";
  332. //
  333. // btnRefreshStats
  334. //
  335. this.btnRefreshStats.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  336. this.btnRefreshStats.FlatAppearance.BorderSize = 0;
  337. this.btnRefreshStats.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  338. this.btnRefreshStats.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  339. this.btnRefreshStats.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  340. this.btnRefreshStats.Location = new System.Drawing.Point(830, 18);
  341. this.btnRefreshStats.Name = "btnRefreshStats";
  342. this.btnRefreshStats.Size = new System.Drawing.Size(130, 28);
  343. this.btnRefreshStats.TabIndex = 4;
  344. this.btnRefreshStats.Text = "Обновить";
  345. this.btnRefreshStats.UseVisualStyleBackColor = false;
  346. this.btnRefreshStats.Click += new System.EventHandler(this.btnRefreshStats_Click);
  347. //
  348. // labelEnd
  349. //
  350. this.labelEnd.AutoSize = true;
  351. this.labelEnd.Font = new System.Drawing.Font("Segoe UI", 9F);
  352. this.labelEnd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  353. this.labelEnd.Location = new System.Drawing.Point(460, 25);
  354. this.labelEnd.Name = "labelEnd";
  355. this.labelEnd.Size = new System.Drawing.Size(24, 15);
  356. this.labelEnd.TabIndex = 5;
  357. this.labelEnd.Text = "по:";
  358. //
  359. // labelStart
  360. //
  361. this.labelStart.AutoSize = true;
  362. this.labelStart.Font = new System.Drawing.Font("Segoe UI", 9F);
  363. this.labelStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  364. this.labelStart.Location = new System.Drawing.Point(30, 25);
  365. this.labelStart.Name = "labelStart";
  366. this.labelStart.Size = new System.Drawing.Size(16, 15);
  367. this.labelStart.TabIndex = 6;
  368. this.labelStart.Text = "с:";
  369. //
  370. // dateTimePickerEnd
  371. //
  372. this.dateTimePickerEnd.CalendarForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  373. this.dateTimePickerEnd.CalendarMonthBackground = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  374. this.dateTimePickerEnd.CalendarTitleForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  375. this.dateTimePickerEnd.Font = new System.Drawing.Font("Segoe UI", 9F);
  376. this.dateTimePickerEnd.Location = new System.Drawing.Point(490, 20);
  377. this.dateTimePickerEnd.Name = "dateTimePickerEnd";
  378. this.dateTimePickerEnd.Size = new System.Drawing.Size(150, 23);
  379. this.dateTimePickerEnd.TabIndex = 2;
  380. //
  381. // dateTimePickerStart
  382. //
  383. this.dateTimePickerStart.CalendarForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  384. this.dateTimePickerStart.CalendarMonthBackground = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  385. this.dateTimePickerStart.CalendarTitleForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  386. this.dateTimePickerStart.Font = new System.Drawing.Font("Segoe UI", 9F);
  387. this.dateTimePickerStart.Location = new System.Drawing.Point(60, 20);
  388. this.dateTimePickerStart.Name = "dateTimePickerStart";
  389. this.dateTimePickerStart.Size = new System.Drawing.Size(150, 23);
  390. this.dateTimePickerStart.TabIndex = 1;
  391. //
  392. // groupBoxTopBooks
  393. //
  394. this.groupBoxTopBooks.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  395. this.groupBoxTopBooks.Controls.Add(this.btnExportExcel);
  396. this.groupBoxTopBooks.Controls.Add(this.dataGridViewTopBooks);
  397. this.groupBoxTopBooks.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  398. this.groupBoxTopBooks.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  399. this.groupBoxTopBooks.Location = new System.Drawing.Point(10, 80);
  400. this.groupBoxTopBooks.Name = "groupBoxTopBooks";
  401. this.groupBoxTopBooks.Size = new System.Drawing.Size(480, 430);
  402. this.groupBoxTopBooks.TabIndex = 1;
  403. this.groupBoxTopBooks.TabStop = false;
  404. this.groupBoxTopBooks.Text = "Топ-10 книг за период";
  405. //
  406. // btnExportExcel
  407. //
  408. this.btnExportExcel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  409. this.btnExportExcel.FlatAppearance.BorderSize = 0;
  410. this.btnExportExcel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  411. this.btnExportExcel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  412. this.btnExportExcel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  413. this.btnExportExcel.Location = new System.Drawing.Point(330, 385);
  414. this.btnExportExcel.Name = "btnExportExcel";
  415. this.btnExportExcel.Size = new System.Drawing.Size(130, 30);
  416. this.btnExportExcel.TabIndex = 1;
  417. this.btnExportExcel.Text = "Экспорт в Excel";
  418. this.btnExportExcel.UseVisualStyleBackColor = false;
  419. this.btnExportExcel.Click += new System.EventHandler(this.btnExportExcel_Click);
  420. //
  421. // dataGridViewTopBooks
  422. //
  423. this.dataGridViewTopBooks.AllowUserToAddRows = false;
  424. this.dataGridViewTopBooks.AllowUserToDeleteRows = false;
  425. this.dataGridViewTopBooks.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  426. this.dataGridViewTopBooks.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  427. this.dataGridViewTopBooks.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  428. this.dataGridViewTopBooks.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  429. this.dataGridViewTopBooks.Location = new System.Drawing.Point(15, 25);
  430. this.dataGridViewTopBooks.Name = "dataGridViewTopBooks";
  431. this.dataGridViewTopBooks.ReadOnly = true;
  432. this.dataGridViewTopBooks.RowHeadersVisible = false;
  433. this.dataGridViewTopBooks.Size = new System.Drawing.Size(450, 345);
  434. this.dataGridViewTopBooks.TabIndex = 0;
  435. this.dataGridViewTopBooks.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewTopBooks_CellContentClick);
  436. //
  437. // groupBoxChart
  438. //
  439. this.groupBoxChart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  440. this.groupBoxChart.Controls.Add(this.chartPopularBooks);
  441. this.groupBoxChart.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
  442. this.groupBoxChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
  443. this.groupBoxChart.Location = new System.Drawing.Point(500, 80);
  444. this.groupBoxChart.Name = "groupBoxChart";
  445. this.groupBoxChart.Size = new System.Drawing.Size(500, 430);
  446. this.groupBoxChart.TabIndex = 2;
  447. this.groupBoxChart.TabStop = false;
  448. this.groupBoxChart.Text = "Динамика выдач";
  449. //
  450. // chartPopularBooks
  451. //
  452. this.chartPopularBooks.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
  453. this.chartPopularBooks.BorderlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
  454. chartArea1.Name = "ChartArea1";
  455. this.chartPopularBooks.ChartAreas.Add(chartArea1);
  456. legend1.Name = "Legend1";
  457. this.chartPopularBooks.Legends.Add(legend1);
  458. this.chartPopularBooks.Location = new System.Drawing.Point(15, 25);
  459. this.chartPopularBooks.Name = "chartPopularBooks";
  460. this.chartPopularBooks.Size = new System.Drawing.Size(470, 385);
  461. this.chartPopularBooks.TabIndex = 0;
  462. this.chartPopularBooks.Text = "chart1";
  463. this.chartPopularBooks.Click += new System.EventHandler(this.chartPopularBooks_Click);
  464. //
  465. // AdminMainForm
  466. //
  467. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
  468. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  469. this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
  470. this.ClientSize = new System.Drawing.Size(1050, 670);
  471. this.Controls.Add(this.tabControl);
  472. this.Controls.Add(this.headerPanel);
  473. this.Font = new System.Drawing.Font("Segoe UI", 9F);
  474. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  475. this.Name = "AdminMainForm";
  476. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  477. this.Text = "Администрирование - Библиотечная система";
  478. this.Load += new System.EventHandler(this.AdminMainForm_Load);
  479. this.headerPanel.ResumeLayout(false);
  480. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).EndInit();
  481. this.tabControl.ResumeLayout(false);
  482. this.tabPageLogs.ResumeLayout(false);
  483. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewLogs)).EndInit();
  484. this.tabPageUsers.ResumeLayout(false);
  485. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewUsers)).EndInit();
  486. this.tabPageReports.ResumeLayout(false);
  487. this.groupBoxFilters.ResumeLayout(false);
  488. this.groupBoxFilters.PerformLayout();
  489. this.groupBoxTopBooks.ResumeLayout(false);
  490. ((System.ComponentModel.ISupportInitialize)(this.dataGridViewTopBooks)).EndInit();
  491. this.groupBoxChart.ResumeLayout(false);
  492. ((System.ComponentModel.ISupportInitialize)(this.chartPopularBooks)).EndInit();
  493. this.ResumeLayout(false);
  494. }
  495. }
  496. }