void iGridEX1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { if (!MultipleSelector) { SelectSingle(); } }
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"]); }
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); } }
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; } } }
private void TrafficPicturesGridView_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { try { FillGrig(); } catch (Exception ex) { Hepsa.Core.Common.MessageBox.ErrorMessage(ex.Message); } }
private void autoSaveGridEX_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { try { ResumeActivity(); } catch (Exception x) { UIHelper.HandleUIException(x); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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(); }
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); } }
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); } }
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); } }
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); } } }
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); } }
private void gxDotBiTichList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { EditRow(); }
private void grdPrices_OnRowDBClick(object Sender, Janus.Windows.GridEX.RowActionEventArgs e) { btnEditPrice.PerformClick(); }
private void gridExWFMagPicker_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { this.ReturnData(); }
private void gxGiaDinhList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { //EditRow(); }
private void gxGiaoDanList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { this.DialogResult = DialogResult.OK; }
private void gridCajas_RowExpanded(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { Console.WriteLine("Hi"); }
private void gridEX1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { gxCommand1_OnOK(sender, e); }
private void grdContract_OnRowDBClick(object Sender, Janus.Windows.GridEX.RowActionEventArgs e) { btnEditOwner.PerformClick(); }
private void gxGiaoHoList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { if (maGiaoHoCha == -1) EditGiaoHoRow(); //EditGiaDinhRow(); }
private void gxLinhMucList1_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { EditLinhMucRow(GxOperation.EDIT); }
private void dgvDTBView_RowDoubleClick(object sender, Janus.Windows.GridEX.RowActionEventArgs e) { btSave_Click(null, null); }