Esempio n. 1
0
 private void gridView1_DoubleClick(object sender, EventArgs e)
 {
     if (gridView1.FocusedRowHandle >= 0)
     {
         var tranid = gridView1.GetDataRow(gridView1.FocusedRowHandle);
         if(RptType)
         {
             var f = new NewPurInv {Purid = tranid["PURINVID"].ToString()};
             f.Show();
             f.DoView();
         }
         else
         {
             var f = new NewPurReturn { Purid = tranid["RETURNID"].ToString() };
             f.Show();
             f.DoView();
         }
     }
 }
Esempio n. 2
0
        private void barButtonItem7_ItemClick(object sender, ItemClickEventArgs e)
        {
            opentab = 1;
 
            NewPurInv frm = null;
            if ((frm = (NewPurInv)IsFormAlreadyOpen(typeof(NewPurInv))) == null)
            {
                frm = new NewPurInv();
                frm.MdiParent = this;
                frm.Show();
            }
            else
            {
                frm.Select();
            }
         }
Esempio n. 3
0
 private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e)
 {
     var p = new NewPurInv();
     p.ShowHoldList = false;
     p.ShowDialog();
 }
Esempio n. 4
0
 private void gridControl1_DoubleClick(object sender, EventArgs e)
 {
     if (gridView1.FocusedRowHandle >= 0)
     {
         var f = new NewPurInv();
         f.ShowHoldList = false;
         f.Purid = gridView1.GetFocusedRowCellValue("PURINVID").ToString();
         f.DoView();
         f.ShowDialog();
       //  f.Parent = this.Parent;
         LoadGrid();
     }
 }
 private void gridView1_DoubleClick(object sender, EventArgs e)
 {
     //PURINVID
     if (gridView1.FocusedRowHandle >= 0)
     {
         var dr = gridView1.GetDataRow(gridView1.FocusedRowHandle);
         if (dr != null)
         {
             var f = new NewPurInv();
             f.ShowHoldList = false;
             f.Purid = dr["PURINVID"].ToString();
             f.DoView();
             f.ShowDialog();
         }
     }
 }