码迷,mamicode.com
首页 > 其他好文 > 详细

编码类

时间:2017-04-12 23:15:36      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:技术   cat   splay   .sh   glin   end   ati   open   rms   

技术分享
 1 using System;
 2 using System.Collections.Generic;
 3 using System.Linq;
 4 using System.Text;
 5 using System.Threading.Tasks;
 6 using System.Windows.Forms;
 7 
 8 namespace WindowsFormsApplication2
 9 {
10 
11     /// <summary>
12     /// 编码
13     /// </summary>
14    public class CodeJob:Abctract
15     {
16         public CodeJob(string type ,string name, string desc):base(type,name,desc) 
17        {
18         
19        }
20         //public CodeJob() { }
21        //有效编码
22         public int CodingLines { get; set; }
23        //目前没有编码Bug
24         public int Bugs { get; set; }
25        //工作日
26         public int  WorkDay{ get; set; }
27 
28         public override void Execcute(Form1 f,int index)
29         {
30             Form3  q = new Form3();
31             q.fr = f;
32             q.index = index;
33             q.ShowDialog();
34         }
35         public override void show()
36         {
37             StringBuilder s = new StringBuilder();
38             s.AppendLine("有效的编码行数:" + this.CodingLines);
39             s.AppendLine("遗留问题:" + this.Bugs);
40             s.AppendLine("工作日:" + this.WorkDay);
41             MessageBox.Show(s.ToString());
42         }
43     }
44 }
View Code

 

编码类

标签:技术   cat   splay   .sh   glin   end   ati   open   rms   

原文地址:http://www.cnblogs.com/nancheng/p/6701698.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!