Esempio n. 1
0
        private void btnThemMoi_Click(object sender, EventArgs e)
        {
            frmActionTour frm = new frmActionTour();

            frm.loadData = new frmActionTour.LoadData(loadDataGroup);
            frm.ShowDialog();
        }
Esempio n. 2
0
        private void btnClickEdit_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            var           id  = int.Parse(gridViewData.GetFocusedRowCellValue("TourID").ToString());
            frmActionTour frm = new frmActionTour(1, id);

            frm.loadData = new frmActionTour.LoadData(loadDataGroup);
            frm.ShowDialog();
        }