コード例 #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     ClubMember c = new ClubMember(gridMembers.SelectedRows[0].Cells[0].Value.ToString());
     AddEditClubMemberForm child = new AddEditClubMemberForm(c);
     child.MdiParent = this.MdiParent;
     child.Show();
 }
コード例 #2
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            AddEditClubMemberForm child = new AddEditClubMemberForm(true);

            child.MdiParent = this.MdiParent;
            child.Show();
        }
コード例 #3
0
        // Opens form to add and edit club members
        private void menuAddEditMembers_Click(object sender, EventArgs e)
        {
            AddEditClubMemberForm child = new AddEditClubMemberForm();

            child.MdiParent = this;
            child.Show();
        }
 private void btnDetails_Click(object sender, EventArgs e)
 {
     String username = membersDataGrid.SelectedRows[0].Cells[0].Value.ToString();
     AddEditClubMemberForm child =
        new AddEditClubMemberForm(username);
     child.MdiParent = this.MdiParent;
     child.Show();
 }
コード例 #5
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            ClubMember            c     = new ClubMember(gridMembers.SelectedRows[0].Cells[0].Value.ToString());
            AddEditClubMemberForm child = new AddEditClubMemberForm(c);

            child.MdiParent = this.MdiParent;
            child.Show();
        }
コード例 #6
0
        private void btnDetails_Click(object sender, EventArgs e)
        {
            String username             = membersDataGrid.SelectedRows[0].Cells[0].Value.ToString();
            AddEditClubMemberForm child =
                new AddEditClubMemberForm(username);

            child.MdiParent = this.MdiParent;
            child.Show();
        }
コード例 #7
0
 private void btnNew_Click(object sender, EventArgs e)
 {
     AddEditClubMemberForm child = new AddEditClubMemberForm(true);
     child.MdiParent = this.MdiParent;
     child.Show();
 }
コード例 #8
0
 // Opens form to add and edit club members
 private void menuAddEditMembers_Click(object sender, EventArgs e)
 {
     AddEditClubMemberForm child = new AddEditClubMemberForm();
     child.MdiParent = this;
     child.Show();
 }