Ejemplo n.º 1
0
        public void OrderList()
        {
            IncommingService service = new IncommingService();

            OList = service.OrderList();
            dgvOrder.DataSource = OList;
        }
Ejemplo n.º 2
0
        public void Incomming()
        {
            IncommingService service = new IncommingService();

            list = service.IncommingStatus();
            dgvIncomming.DataSource = list;
        }
Ejemplo n.º 3
0
        private void newBtns1_btnWait_Event(object sender, EventArgs e)
        {
            IncommingService   service = new IncommingService();
            List <IncommingVO> list    = new List <IncommingVO>();
            IncommingVO        vo;

            foreach (DataGridViewRow row in dgvOrder.Rows)
            {
                bool bCheck = (bool)row.Cells["chk"].EditedFormattedValue;
                if (bCheck)
                {
                    vo = new IncommingVO();
                    vo.incomming_count = Convert.ToInt32(row.Cells["order_count"].Value);
                    vo.incomming_rep   = row.Cells["user_name"].Value.ToString();
                    vo.order_id        = Convert.ToInt32(row.Cells["order_id"].Value);
                    list.Add(vo);
                }
            }
            if (list.Count == 0)
            {
                MessageBox.Show("입고대기 목록을 선택해주십시오.");
            }
            else
            {
                if (service.IncommingWait(list) == 1)
                {
                    MessageBox.Show("입고대기 처리완료");
                    OrderList();
                }
            }
        }
Ejemplo n.º 4
0
 public ElishAppHub(IncommingService incomingService)
 {
     _incomingService = incomingService;
 }