革博士程序V1仓库
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

26 satır
768 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows.Forms;
  8. namespace GeBoShi.UI
  9. {
  10. public class UIStyle
  11. {
  12. public static void SetUIStyle(Form frm)
  13. {
  14. frm.BackColor = Color.FromArgb(8, 31, 120);
  15. frm.FormBorderStyle = FormBorderStyle.None;
  16. frm.StartPosition = FormStartPosition.CenterScreen;
  17. frm.Icon = Properties.Resources.Ge;
  18. frm.ShowIcon = true;
  19. //frm.ForeColor = Color.White;
  20. //frm.MouseMove += Main_MouseMove;
  21. //frm.MouseLeave += Main_Leave; // 有控件在边缘时,处理一下更好一些
  22. }
  23. }
  24. }