コード例 #1
0
ファイル: Form1.cs プロジェクト: taibai233/c-
 public Form1()
 {
     student_hzw p1 = new student_hzw();
     InitializeComponent();
     Ph = new Dictionary<string, student_hzw>();
     FullData(ph);
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: taibai233/c-
        public Form1()
        {
            student_hzw p1 = new student_hzw();

            InitializeComponent();
            Ph = new Dictionary <string, student_hzw>();
            FullData(ph);
        }
コード例 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            student_hzw st = new student_hzw();

            st.Name_hzw        = Name.Text;
            st.Sex_hzw         = Sex.Text;
            st.PhoneNumber_hzw = Name.Text;
            st.Job_hzw         = Job.Text;
            st.Adress_hzw      = Adress.Text;            st.FriendShip = Relationship.Text;
            f1.Ph.Add(st.Name_hzw, st);
            f1.FullData(f1.Ph);
            this.Close();
        }
コード例 #4
0
 public Form2(Form1 _f1, student_hzw _st1)
 {
     InitializeComponent();
     f1  = _f1;
     st1 = _st1;
 }