编码类

Posted 南城。

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编码类相关的知识,希望对你有一定的参考价值。

技术分享
 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

 

以上是关于编码类的主要内容,如果未能解决你的问题,请参考以下文章