コード例 #1
0
 public frmComment(JobView4 owner, string jobnumber)
 {
     InitializeComponent();
     __owner           = owner;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmComment_FormClosing);
     strJobNumber      = jobnumber;
 }
コード例 #2
0
 public ActionItems(JobView4 owner, string jobnumber)
 {
     strjobnumber      = jobnumber;
     _owner2           = owner;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmActionItems_FormClosing);
     InitializeComponent();
 }
コード例 #3
0
        private void event2(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellClickEventArgs e)
        {
            var s = this.gc1.Table.SelectedRecords;

            GridRangeInfoList s1 = this.gc1.TableModel.Selections.GetSelectedRows(true, true);

            //to get row index range
            foreach (GridRangeInfo info in s1)
            {
                Element el = gc1.TableModel.GetDisplayElementAt(info.Top);

                string job      = el.GetRecord().GetValue("BaseID").ToString();
                string type     = el.GetRecord().GetValue("Type").ToString();
                string shipdate = el.GetRecord().GetValue("ShipDate").ToString();

                JobView4 jobView4 = new JobView4(job, type, shipdate);
                jobView4.Show();
                // testjobview ts1 = new testjobview(job, type, shipdate);
                // ts1.Show();



                //to get cellvalue of particular column from selected row.
            }
        }