zoukankan      html  css  js  c++  java
  • 编码类

     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
  • 相关阅读:
    页面与服务器的交互,,经典案例
    setInterval和clearInterval
    setAttribute,,,getAttribute,,,,
    字符串拼接
    上下图片连动效果
    文本框获得焦点
    获取机器上的时间
    检测奇偶性
    置顶博文
    P1962 斐波那契数列 题解
  • 原文地址:https://www.cnblogs.com/nancheng/p/6701698.html
Copyright © 2011-2022 走看看