void _tableview_StateRowEnvent(string id)
        {
            int    orderid    = int.Parse(id);
            string reviewflag = operationContract.GetReviewFlag("f", orderid);

            if (reviewflag == "1")
            {
                detectDetailsReviewFishery det = new detectDetailsReviewFishery(orderid);
                det.ShowDialog();
            }
            else
            {
                detectdetailsFishery det = new detectdetailsFishery(orderid);
                det.ShowDialog();
            }
        }
Ejemplo n.º 2
0
        void _tableview_DetailsRowEnvent(string id)
        {
            int orderid = int.Parse(id);

            switch (dept_type)
            {
            case "0": detectDetailsReview det = new detectDetailsReview(orderid);
                det.ShowDialog();
                break;

            case "1": detectDetailsReviewFishery detlt = new detectDetailsReviewFishery(orderid);
                detlt.ShowDialog();
                break;

            case "2": detectDetailsReviewAnimal detcy = new detectDetailsReviewAnimal(orderid);
                detcy.ShowDialog();
                break;

            default: break;
            }
        }