
本文共 2762 字,大约阅读时间需要 9 分钟。
������������������������������������������������������
������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
������������������������������������
������������������������������
���Windows������������������������������������������������������������������������������������������������������������������������������������FormBorderStyle
������������������
this FrmFormBorderStyle = Windows.Forms.FormBorderStyle.None;
���������������������������������������������������������������������������������������������
���������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������
Panel panel1 = new Panel();panel1.Location = new Point(0, 0);panel1.Size = this.Size;// ���������������������������Controls.Add(panel1);
������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������
panel1 ��������������������:panel1.ApplyVisualStyle();
������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������������������
foreach (var item in Directory.GetFiles("������������")) { panel1.BackgroundImage = Image.FromStream(new FileStream(item, FileMode.Open, FileAccess.Read));}
������������������������������
������������������������������������������������������������������������������������������������������������������������
(btnMinimize.Location = new Point(2, 2);btnMaximize.Location = new Point(2, 22);btnClose.Location = new Point(2, 42);// ������������������btnMinimize.Click += (sender, e) => this.WindowState = FormWindowState.Minimized;btnMaximize.Click += (sender, e) => this.WindowState = FormWindowState.Maximized;btnClose.Click += (sender, e) => this.Hide();
������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
������������������������������������������������������������
- ������������������
- ���������������������������������
- ������������������������������UI���������
������������������������������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
