Beispiel #1
0
 private void gridView2_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         int k = gridView2.SelectedRowsCount;
         if (k > 0)
         {
             int RowHandle = gridView2.GetSelectedRows()[k - 1];
             if (RowHandle >= 0)
             {
                 long  iDDT = long.Parse(gridView2.GetRowCellValue(RowHandle, colID).ToString());
                 WebUp temp = WebUp.Get(iDDT);
                 if (temp != null)
                 {
                     frmWebLink frm = new frmWebLink(NumCode.UPWEB, NumCode.WEB);
                     frm._cus = temp;
                     if (frm.ShowDialog() == DialogResult.OK)
                     {
                         _LoadDSWebLink();
                     }
                 }
             }
         }
     }
     catch { }
 }
Beispiel #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmWebLink frm = new frmWebLink(NumCode.UPWEB, NumCode.WEB);

            frm.ShowDialog();
            _LoadDSWebLink();
        }
Beispiel #3
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmWebLink frm = new frmWebLink(NumCode.UPWEB, NumCode.WEB);

            frm.ShowDialog();
            if (lookUpEditPage.EditValue != null)
            {
                _LoadDSWebLink(lookUpEditPage.Text);
            }
        }
Beispiel #4
0
 private void gridView2_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         int k = gridView2.SelectedRowsCount;
         if (k > 0)
         {
             int RowHandle = gridView2.GetSelectedRows()[k - 1];
             if (RowHandle >= 0)
             {
                 long iDDT = long.Parse(gridView2.GetRowCellValue(RowHandle, colID).ToString());
                 WebLink temp = WebLink.Get(iDDT);
                 if (temp != null)
                 {
                     frmWebLink frm = new frmWebLink(NumCode.UPEX);
                     frm._cus = temp;
                     if (frm.ShowDialog() == DialogResult.OK)
                     {
                         _LoadDSWebLink();
                     }
                 }
             }
         }
     }
     catch { }
 }
Beispiel #5
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     frmWebLink frm = new frmWebLink(NumCode.UPEX);
     frm.ShowDialog();
     _LoadDSWebLink();
 }