父类

 1 using System;
 2 using System.Collections.Generic;
 3 using System.Linq;
 4 using System.Text;
 5 using System.Threading.Tasks;
 6 
 7 namespace WindowsFormsApplication2
 8 {
 9     /// <summary>
10     /// 父类 工作类
11     /// </summary>
12    public abstract class Abctract
13     {
14        /// <summary>
15        /// 工作类型
16        /// </summary>
17        public string Type { get; set; }
18        public string Name { get; set; }
19        public string Descripton { get; set; }
20 
21        public Abctract(string type, string name, string descripton)
22        {
23            this.Descripton=descripton;
24            this.Type=type;
25            this.Name=name;
26            
27        }
28        //执行
29        public abstract void Execcute(Form1 f, int index);
30        public abstract void show();
31     } 
32 }
View Code

 

posted @ 2017-04-12 22:14  南城。  阅读(127)  评论(0)    收藏  举报