文斌的博客

学无止境
随笔 - 85, 文章 - 1, 评论 - 131, 阅读 - 26万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

期末考试结束,应该课设

Posted on   文斌1988  阅读(189)  评论(0编辑  收藏  举报

这几天忙坏了,紧张的期末考试维持了一周,每天强迫自己看书,默写,中午困得不行每天都要午睡...终于结束了 ,, 接下来是三周的课设,,需要自己独立制作一个简单的信息系统,题目自选..

电脑硬盘被我不小心格了(万恶的一键还原,,,选择镜像文件还原后竟然就剩一个盘了...) 周末这两天好好补了个觉.明天就要回去准备课设了,, 再网上下了两个别人做好的例子,发现好复杂,方法就不用说了,基本全都独立出来了,竟然还发现许多字段(就是那种控件的字段

this.label1 = new System.Windows.Forms.Label();
   this.comboBox1 = new System.Windows.Forms.ComboBox();
   this.button1 = new System.Windows.Forms.Button();
   this.label2 = new System.Windows.Forms.Label();
   this.label3 = new System.Windows.Forms.Label();
   this.textBox1 = new System.Windows.Forms.TextBox();
   this.label4 = new System.Windows.Forms.Label();
   this.textBox2 = new System.Windows.Forms.TextBox();
   this.label5 = new System.Windows.Forms.Label();
   this.richTextBox1 = new System.Windows.Forms.RichTextBox();
   this.richTextBox2 = new System.Windows.Forms.RichTextBox();
   this.richTextBox3 = new System.Windows.Forms.RichTextBox();
   this.label6 = new System.Windows.Forms.Label();
   this.textBox3 = new System.Windows.Forms.TextBox();
   this.label7 = new System.Windows.Forms.Label();
   this.label8 = new System.Windows.Forms.Label();
   this.label9 = new System.Windows.Forms.Label();
   this.SuspendLayout();
   //
   // label1
   //
   this.label1.Location = new System.Drawing.Point(88, 32);
   this.label1.Name = "label1";
   this.label1.TabIndex = 0;
   this.label1.Text = "选择房间编号";
   //

)

这种一般我直接在控件属性里面改,也不知道这是怎么写出来的?感觉好复杂

 

 

这次课设我也要模仿这种做法,独立完成..   方法  字段   调用 

编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· [AI/GPT/综述] AI Agent的设计模式综述
点击右上角即可分享
微信分享提示