经验首页 前端设计 程序设计 Java相关 移动开发 数据库/运维 软件/图像 大数据/云计算 其他经验
当前位置:技术经验 » 软件/图像 » Visual Studio » 查看文章
Visual Studio 基础设置
来源:cnblogs  作者:H滴水  时间:2019/7/29 9:17:34  对本文有异议
  • 重置开发环境

菜单栏中选择“工具”/“导入和导出设置”/“重置所有设置”

  •  设置行号

菜单栏中选择“工具”/“选项”/“文本编辑器”/“行号”

  • 全屏显示

 菜单栏中选择“试图”/“全屏显示”

  • 为程序设置版本和帮助信息

项目/properties /AssemblyInfo.cs 文件

  1. 1 // General Information about an assembly is controlled through the following
  2. 2 // set of attributes. Change these attribute values to modify the information
  3. 3 // associated with an assembly.
  4. 4 [assembly: AssemblyTitle("Startup")]
  5. 5 [assembly: AssemblyDescription("")]
  6. 6 [assembly: AssemblyConfiguration("")]
  7. 7 [assembly: AssemblyCompany("")]
  8. 8 [assembly: AssemblyProduct("Startup")]
  9. 9 [assembly: AssemblyCopyright("Copyright © 2017")]
  10. 10 [assembly: AssemblyTrademark("")]
  11. 11 [assembly: AssemblyCulture("")]
  12. 12
  13. 13 // Setting ComVisible to false makes the types in this assembly not visible
  14. 14 // to COM components. If you need to access a type in this assembly from
  15. 15 // COM, set the ComVisible attribute to true on that type.
  16. 16 [assembly: ComVisible(false)]
  17. 17
  18. 18 // The following GUID is for the ID of the typelib if this project is exposed to COM
  19. 19 [assembly: Guid("548f386c-8206-488b-9bf1-f3f002d0dbf1")]
  20. 20
  21. 21 // Version information for an assembly consists of the following four values:
  22. 22 //
  23. 23 // Major Version
  24. 24 // Minor Version
  25. 25 // Build Number
  26. 26 // Revision
  27. 27 //
  28. 28 // You can specify all the values or you can default the Build and Revision Numbers
  29. 29 // by using the '*' as shown below:
  30. 30 // [assembly: AssemblyVersion("1.0.*")]
  31. 31 [assembly: AssemblyVersion("1.0.0.0")]
  32. 32 [assembly: AssemblyFileVersion("1.0.0.0")]
AssemblyInfo
  • 设置Windows应用程序启动窗体

在“解决方案资源管理器”面板中找到Program.cs 文件

  1. //
  2. // 摘要:
  3. // 在特定的 System.Windows.Forms.ApplicationContext 中,在当前线程上开始运行标准应用程序消息循环。
  4. //
  5. // 参数:
  6. // context:
  7. // 一个 System.Windows.Forms.ApplicationContext,应用程序将在其中运行。
  8. //
  9. // 异常:
  10. // T:System.InvalidOperationException:
  11. // 已在此线程上运行的主消息循环。
  12. public static void Run(ApplicationContext context);
  13. //
  14. // 摘要:
  15. // 在当前线程上开始运行标准应用程序消息循环,并使指定窗体可见。
  16. //
  17. // 参数:
  18. // mainForm:
  19. // 一个 System.Windows.Forms.Form,它代表要使之可见的窗体。
  20. //
  21. // 异常:
  22. // T:System.InvalidOperationException:
  23. // 已在当前线程上运行的主消息循环。
  24. public static void Run(Form mainForm);
  25. //
  26. // 摘要:
  27. // 在没有窗体的情况下,在当前线程上开始运行标准应用程序消息循环。
  28. //
  29. // 异常:
  30. // T:System.InvalidOperationException:
  31. // 已在此线程上运行的主消息循环。
  32. public static void Run();
Run

 

原文链接:http://www.cnblogs.com/houxt/p/11248505.html

 友情链接:直通硅谷  点职佳  北美留学生论坛

本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728

W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
关于我们  |  意见建议  |  捐助我们  |  报错有奖  |  广告合作、友情链接(目前9元/月)请联系QQ:27243702 沸活量
皖ICP备17017327号-2 皖公网安备34020702000426号