Example #1
0
        private void btnThemMoi_Click(object sender, EventArgs e)
        {

            frmCreateStep frm = new frmCreateStep();
            if (frm.ShowDialog() == DialogResult.OK)
            {
                _LoadDSWebLink();
            }
        }
        private void btnThemMoi_Click(object sender, EventArgs e)
        {
            frmCreateStep frm = new frmCreateStep();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                _LoadDSWebLink();
            }
        }
Example #3
0
 private void _SelectUpdateWebLink()
 {
     try
     {
         int k = gridView1.SelectedRowsCount;
         if (k > 0)
         {
             int RowHandle = gridView1.GetSelectedRows()[k - 1];
             if (RowHandle >= 0)
             {
                 long iDDT = long.Parse(gridView1.GetRowCellValue(RowHandle, colID).ToString());
                 WebPage web = WebPage.Get(iDDT);
                 frmCreateStep frm = new frmCreateStep();
                 frm.webPage = web;
                     if (frm.ShowDialog() == DialogResult.OK)
                     {
                         _LoadDSWebLink();
                     }
             }
         }
     }
     catch { }
 }
 private void _SelectUpdateWebLink()
 {
     try
     {
         int k = gridView1.SelectedRowsCount;
         if (k > 0)
         {
             int RowHandle = gridView1.GetSelectedRows()[k - 1];
             if (RowHandle >= 0)
             {
                 long          iDDT = long.Parse(gridView1.GetRowCellValue(RowHandle, colID).ToString());
                 WebPage       web  = WebPage.Get(iDDT);
                 frmCreateStep frm  = new frmCreateStep();
                 frm.webPage = web;
                 if (frm.ShowDialog() == DialogResult.OK)
                 {
                     _LoadDSWebLink();
                 }
             }
         }
     }
     catch { }
 }