Beispiel #1
0
        void _tableview_StateRowEnvent(string id)
        {
            int orderid          = int.Parse(id);
            AddReviewDetails det = new AddReviewDetails(orderid, this);

            det.ShowDialog();
        }
        //void _tableview_DetailsRowEnvent(string id)
        //{
        //    string dept_id;
        //    string item_id;

        //    int selectrow = int.Parse(id);

        //    dept_id = current_table.Rows[selectrow - 1][1].ToString();
        //    item_id = current_table.Rows[selectrow - 1][3].ToString();

        //    grid_info.Children.Add(new UcReviewdetails(dbOperation, reportDate_kssj.Value.ToString(), reportDate_jssj.Value.ToString(), dept_id, item_id, _detect_result.SelectedIndex < 1 ? "" : (_detect_result.SelectedItem as Label).Tag.ToString()));
        //}

        void _tableview_StateRowEnvent(string id)
        {
            int orderid = int.Parse(id);
            AddReviewDetails det = new AddReviewDetails(dbOperation, orderid,this);
            det.ShowDialog();

        }