Exemple #1
0
        private void initComboBox()
        {
            NonOperation_Service service = new NonOperation_Service();

            MList = service.GetMa_NameList();
            if (MList.Count > 1)
            {
                List <string> NonList = (from item in MList
                                         select item.Nop_Ma_Name).ToList();
                CommonUtil.ComboBinding(cb_Hap, NonList);
            }
        }
Exemple #2
0
        private void btn_Write_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("변경 하시겠습니까?", "알림", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                NonOperation_Service service = new NonOperation_Service();

                updateNonOperation_Vo vo = new updateNonOperation_Vo();
                vo.Nop_Ma_Name  = txt_Hap.Text;
                vo.Nop_Mi_Name  = txt_Detail.Text;
                vo.Nop_Ma_Name1 = cb_Hap.Text;
                vo.Nop_Mi_Name1 = txt_Detail1.Text;
                service.UpdateNop(vo);

                this.Close();
            }
        }
Exemple #3
0
        private void AllNon()
        {
            NonOperation_Service service = new NonOperation_Service();

            dgv_NonOperation.DataSource = service.AllNonOperation();
        }