编码类1

 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

 

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