| | |
| | | // |
| | | // mainForm |
| | | // |
| | | mainForm.AppIcon = null; |
| | | mainForm.BackColor = System.Drawing.Color.FromArgb(39, 39, 39); |
| | | mainForm.Controls.Add(mainPanel); |
| | | mainForm.Controls.Add(UserPicture); |
| | |
| | | mainForm.TabIndex = 0; |
| | | mainForm.Text = "泵水力设计软件"; |
| | | mainForm.TextAlignment = WinFrmUI.RLT.Forms.NightForm.Alignment.Center; |
| | | mainForm.TitleBarTextColor = System.Drawing.Color.Gainsboro; |
| | | mainForm.TitleBarTextColor = System.Drawing.Color.DeepSkyBlue; |
| | | mainForm.Click += mainForm_Click; |
| | | // |
| | | // mainPanel |
| | |
| | | UserPicture.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | UserPicture.FilterAlpha = 75; |
| | | UserPicture.FilterEnabled = false; |
| | | UserPicture.Image = Properties.Resources.User; |
| | | UserPicture.Image = DPumpHydr.DesktopMain.Properties.Resources.user; |
| | | UserPicture.InterpolationType = System.Drawing.Drawing2D.InterpolationMode.HighQualityBilinear; |
| | | UserPicture.IsElipse = true; |
| | | UserPicture.IsParallax = false; |
| | |
| | | // LibraryIcon |
| | | // |
| | | LibraryIcon.Enabled = false; |
| | | LibraryIcon.Image = Properties.Resources.Books; |
| | | LibraryIcon.Image = Properties.Resources.Book; |
| | | LibraryIcon.Location = new System.Drawing.Point(18, 17); |
| | | LibraryIcon.Name = "LibraryIcon"; |
| | | LibraryIcon.Size = new System.Drawing.Size(30, 30); |
| | |
| | | // AppIcon |
| | | // |
| | | AppIcon.Enabled = false; |
| | | AppIcon.Image = Properties.Resources.woke; |
| | | AppIcon.Image = DPumpHydr.DesktopMain.Properties.Resources.woke; |
| | | AppIcon.Location = new System.Drawing.Point(18, 17); |
| | | AppIcon.Name = "AppIcon"; |
| | | AppIcon.Size = new System.Drawing.Size(30, 30); |