构建布局良好的Windows程序
发布日期:2021-05-14 13:20:26 浏览次数:16 分类:精选文章

本文共 3637 字,大约阅读时间需要 12 分钟。

C# Windows Forms������������������������

���������������C# Windows Forms���������������������������������������������������������������������������������������������������������������������


���������������������MenuStrip

MenuStrip���Windows Forms������������������������������������������������������������������������������������������

  • ������������������������������������MenuStrip���Text������������������������������������������������
  • ������������������NSMutableArray���������������������Items���������������������������������
  • ������������������������������������������������������������Text���������������������

���������������������ToolStrip

ToolStrip���������������������������������������������������������������������

  • ���������������������������������DisplayStyle������������������������������ImageAndText������������������������
  • ���������������ToolStrip������������Image������������������������������
  • ���������������ToolStrip������������Text������������������������������

������������������������������

������������������������������������������������������������������������������������������

  • ������������������������������������������������ShortcutKey���������������������������������&S���������������������Ctrl+S���

���������������������������

���������������������������������������������������������������������������

  • ������������������������������������������Text���������������������-������������������������
  • ���������������������������������������������������������������������������������

���������������������������

������������������������������������������������������

  • ���������������������������������this.Close()������������������������������������������
  • ���������������������������������������������������������������������������������������Application.Exit()������������������������������������������������������������������������������������������

������������������GroupBox

GroupBox������������������������������������������������ �������������������������������������

  • ���������������������������Text���������������������������������������������������

������������������RadionButton

RadionButton���������������������������������������������������������������������������

  • ���������������������������������Text������������������������������������
  • ���������������������������������checked������������������������������������

������������������Anchor

Anchor������������������������������������������������������������������������

  • ���������������������Anchor���������������������������������Top���Left���Right���Bottom���������������������������������������������������������������
  • ������������������������������������������������������������������������������������

���������������������������Dock������

Dock������������������������������������������

  • ���������������������������Dock ����������������������Dock������������������������������������������
  • ������������������������������������������������������������������������������������������������������

������Parent������������

������������������������������������������������������������

  • ���������������������������������������������������������������������this.IsMdiContainer = true;������������������������������������
  • ������������������������������������������������������������������������ fm.MdiParent = this;������������������������������������

������������������������������������

ComboBox������������������������������������

  • ������������������������������Items.Add("���������������������")���������������������������������������������

������������������C# Windows Forms������������������������������������������������������������������������������������

上一篇:winfrom实现简单计算器V2版本
下一篇:winform实现简单的计算器V1版本

发表评论

最新留言

做的很好,不错不错
[***.243.131.199]2025年04月20日 03时03分49秒