首页 > 其他 > 详细

编码类1

时间:2017-04-12 23:09:08      阅读:250      评论:0      收藏:0      [点我收藏+]
技术分享
 1 using System;
 2 using System.Collections.Generic;
 3 using System.ComponentModel;
 4 using System.Data;
 5 using System.Drawing;
 6 using System.Linq;
 7 using System.Text;
 8 using System.Threading.Tasks;
 9 using System.Windows.Forms;
10 
11 namespace WindowsFormsApplication2
12 {
13     public partial class Form2 : Form
14     {
15         public Form2()
16         {
17             InitializeComponent();
18         }
19         public Form1 f;
20         public int index;
21 
22         private void button2_Click(object sender, EventArgs e)
23         {
24             Close();
25         }
26 
27         private void button1_Click(object sender, EventArgs e)
28         {
29             var test = (TestJob)(f.la[index]);
30             test.CaseNum = int.Parse(txtgeshu.Text.Trim());
31             test.Findbugs = int.Parse(txtBug.Text.Trim());
32             test.WorKDay = int.Parse(txtway.Text.Trim());
33         }
34     }
35 }
View Code

 

编码类1

原文:http://www.cnblogs.com/nancheng/p/6701732.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!