コード例 #1
0
 void iGridEX1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     if (!MultipleSelector)
     {
         SelectSingle();
     }
 }
コード例 #2
0
        private void gridPlok_OnRowDBClick(object Sender, Janus.Windows.GridEX.RowActionEventArgs e)
        {
            DataRowView SelectedRow = ((DataRowView)gridPlok.SelectedRow);

            _Code                  = Convert.ToInt32(SelectedRow.Row["Code"]);
            lblPlok.Text           = SelectedRow.Row["PlokNo"].ToString();
            cmbTruck.SelectedValue = Convert.ToInt32(SelectedRow.Row["TruckCode"]);
        }
コード例 #3
0
        private void iGridEX1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
        {
            var dataRow = (SdUserRequestDto)iGridEX1.CurrentRow.DataRow;

            if (dataRow != null)
            {
                UCUserRequestView frm = new UCUserRequestView(TransMode.ViewRecord, dataRow, userInfo);
                ISE.UILibrary.Utils.UIUtils.SetFrmTrans(frm, "اطلاعات درخواست", FormBorderStyle.Sizable);
            }
        }
コード例 #4
0
 private void grdStation_OnRowDBClick(object Sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     if (grdStation.SelectedRow != null)
     {
         SelectedStation = new JStation();
         if (SelectedStation.GetData(System.Convert.ToInt32(grdStation.SelectedRow.Row["Code"])))
         {
             DialogResult = System.Windows.Forms.DialogResult.OK;
         }
     }
 }
コード例 #5
0
 private void TrafficPicturesGridView_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         FillGrig();
     }
     catch (Exception ex)
     {
         Hepsa.Core.Common.MessageBox.ErrorMessage(ex.Message);
     }
 }
コード例 #6
0
 private void autoSaveGridEX_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         ResumeActivity();
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #7
0
        private void igridAtch_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
        {
            var    row  = (SdRequestAttachmentDto)igridAtch.CurrentRow.DataRow;
            string path = "";

            if (row != null)
            {
                path = Path.GetTempPath() + "\\" + Guid.NewGuid().ToString().Replace("-", "") + "." + row.Filetype;
                File.WriteAllBytes(path, row.Content);
                Process.Start(path);
            }
        }
コード例 #8
0
 private void ucRecordList1_RowDoubleClicked(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         docDB.DocumentRow dr = (docDB.DocumentRow)((DataRowView)this.documentBindingSource.Current).Row;
         fFile             f  = MainForm.OpenFile(dr.FileId);
         f.MoreInfo("document", dr.DocId);
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #9
0
 private void documentGridEX_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         if (e.Row.RowType == Janus.Windows.GridEX.RowType.Record & RowDoubleClicked != null)
         {
             RowDoubleClicked(this, e);
         }
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #10
0
 private void eFileGridEX_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         if (e.Row.RowType == Janus.Windows.GridEX.RowType.Record)
         {
             OpenFile();
         }
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #11
0
 private void AccountIncludedGridEx_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         if (e.Row.RowType == Janus.Windows.GridEX.RowType.Record)
         {
             int faId = (int)e.Row.Cells["FileAccountId"].Value;
             FileForm().MoreInfo("debt", faId);
         }
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #12
0
        private void jJanusGrid1_OnRowDBClick(object Sender, Janus.Windows.GridEX.RowActionEventArgs e)
        {
            if (groupBox1.Enabled == false)
            {
                DataRowView SelectedRow = ((DataRowView)jJanusGrid1.SelectedRow);

                _BascolCode       = Convert.ToInt32(SelectedRow.Row["BascoolCode"]);
                _Weight           = Convert.ToInt32(SelectedRow.Row["Weights"]);
                _Date             = JDateTime.GregorianDate(SelectedRow.Row["WDate"].ToString());
                this.DialogResult = DialogResult.OK;
                Close();
            }
            _Code         = Convert.ToInt32(jJanusGrid1.SelectedRow.Row["Code"]);
            txtPrice.Text = jJanusGrid1.SelectedRow.Row["pay_h"].ToString();
        }
コード例 #13
0
 private void gridEX1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         using (fWait fwait = new fWait(LawMate.Properties.Resources.waitLoading))
         {
             if (gridEX1.GetRow().RowType == Janus.Windows.GridEX.RowType.Record)
             {
                 CheckForMandateReturn();
             }
         }
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #14
0
 private void iRPGridEX_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         if (e.Row.RowType == Janus.Windows.GridEX.RowType.Record)
         {
             if (myOfficeMan.CurrentOffice.UsesBilling)
             {
                 ucBase             ctl   = FileForm().MoreInfo("billingreview");
                 ucSRPBillingReview brCtl = (ucSRPBillingReview)ctl;
                 brCtl.MoreInfo("billingreview", CurrentRowIRP().SRPID, CurrentRowIRP().IRPId);
             }
         }
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #15
0
 private void sRPGridEX_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     try
     {
         if (e.Row.RowType == Janus.Windows.GridEX.RowType.Record)
         {
             if (tsGoToSRPDetail.Enabled == Janus.Windows.UI.InheritableBoolean.True)
             {
                 FileForm().MoreInfo("srpdetail", CurrentRow().SRPID);
             }
             else
             {
                 MessageBox.Show("Cannot View SRP Detail for selected SRP");
             }
         }
     }
     catch (Exception x)
     {
         UIHelper.HandleUIException(x);
     }
 }
コード例 #16
0
        private void iGridServiceCatJob_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
        {
            var row = (SdServiceCategoryJobDto)iGridServiceCatJob.CurrentRow.DataRow;

            if (row != null)
            {
                UCServiceCatJob frm = new UCServiceCatJob(row);
                ISE.UILibrary.Utils.UIUtils.SetFrmTrans(frm, "شرح خدمت", FormBorderStyle.FixedSingle);
                if (frm.result == DialogResult.OK)
                {
                    if (row.ServiceCatJobId > 0)
                    {
                        row.State = Framework.Common.CommonBase.DtoObjectState.Updated;
                    }
                    else
                    {
                        row.State = Framework.Common.CommonBase.DtoObjectState.Inserted;
                    }
                    serviceCatJobBs.ResetBindings(true);
                }
            }
        }
コード例 #17
0
        private void AcceptedTurnGridView_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
        {
            try
            {
                HPS.BLL.InOutPicturesBLL.BLLInOutPictures_TFactory InOutPicturesFactory = new BLL.InOutPicturesBLL.BLLInOutPictures_TFactory();
                List <HPS.BLL.InOutPicturesBLL.BLLInOutPictures_T> InOutPicturesList    = new List <BLL.InOutPicturesBLL.BLLInOutPictures_T>();
                InOutPicturesList = InOutPicturesFactory.GetAllBy(BLL.InOutPicturesBLL.BLLInOutPictures_T.InOutPictures_TField.inOutID_bint, InOutTimesGrid.CurrentRow.Cells["inOutID_bint"].Value);

                if (InOutPicturesList != null && InOutPicturesList.Count > 0)
                {
                    if (InOutPicturesList[0].picture_vbnry != null)
                    {
                        System.IO.MemoryStream pictureMemoryStream = new System.IO.MemoryStream();
                        pictureMemoryStream.Write(InOutPicturesList[0].picture_vbnry, 0, InOutPicturesList[0].picture_vbnry.Length);
                        pictureBox.Image = System.Drawing.Image.FromStream(pictureMemoryStream);
                    }
                }
            }
            catch (Exception ex)
            {
                Hepsa.Core.Common.MessageBox.ErrorMessage(ex.Message);
            }
        }
コード例 #18
0
ファイル: frmDotBiTichList.cs プロジェクト: Vocaoson/qlgx
 private void gxDotBiTichList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     EditRow();
 }
コード例 #19
0
 private void grdPrices_OnRowDBClick(object Sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     btnEditPrice.PerformClick();
 }
コード例 #20
0
 private void gridExWFMagPicker_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     this.ReturnData();
 }
コード例 #21
0
ファイル: GxThongKeChung.cs プロジェクト: Vocaoson/qlgx
 private void gxGiaDinhList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     //EditRow();
 }
コード例 #22
0
ファイル: frmChonGiaoDan.cs プロジェクト: Vocaoson/qlgx
 private void gxGiaoDanList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     this.DialogResult = DialogResult.OK;
 }
コード例 #23
0
 private void gridCajas_RowExpanded(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     Console.WriteLine("Hi");
 }
コード例 #24
0
ファイル: frmChonDuLieu.cs プロジェクト: Vocaoson/qlgx
 private void gridEX1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     gxCommand1_OnOK(sender, e);
 }
コード例 #25
0
 private void grdContract_OnRowDBClick(object Sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     btnEditOwner.PerformClick();
 }
コード例 #26
0
ファイル: frmGiaoHo.cs プロジェクト: Vocaoson/qlgx
 private void gxGiaoHoList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     if (maGiaoHoCha == -1) EditGiaoHoRow();
     //EditGiaDinhRow();
     
 }
コード例 #27
0
 private void gxLinhMucList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     EditLinhMucRow(GxOperation.EDIT);
 }
コード例 #28
0
ファイル: Form_DTBView.cs プロジェクト: mwilian/demos
 private void dgvDTBView_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e)
 {
     btSave_Click(null, null);
 }