コード例 #1
0
        void grdStudent_DoubleClick(object sender, EventArgs e)
        {
            var stu    = (View)this.grdStudent.SelectedRows[0].DataBoundItem;
            var update = new UpdateForm(stu.ID);

            update.ShowDialog();
            this.LoadAll();
        }
コード例 #2
0
ファイル: IndexForm.cs プロジェクト: hotanminhtam/Management
        void IndexForm_DoubleClick(object sender, EventArgs e)
        {
            var @class     = (PM14008)this.grdStudents.SelectedRows[0].DataBoundItem;
            var updateForm = new UpdateForm(@class.id);

            updateForm.ShowDialog();
            this.LoadAllClasses();
        }