Ejemplo n.º 1
0
 public OrderView(Member member, BasicForm form)
 {
     InitializeComponent();
     _LoginInfo       = member;
     _Mother          = form;
     _SelectedData    = new Orders();
     _Customers       = new List <Customer>();
     _CMs             = new List <CustomerMember>();
     _OrderController = new OrderController();
 }
Ejemplo n.º 2
0
        public Equipment_Maintenance(Member member, BasicForm form)
        {
            InitializeComponent();
            _Mother    = form;
            _LoginInfo = member;
            _equipment = new EquipmentController();

            GetListEquipment();

            //InsertData();
        }
Ejemplo n.º 3
0
        public StandardProcess(Member member, BasicForm form)
        {
            InitializeComponent();
            _LoginInfo = member;
            _Mother    = form;

            _DP  = new DetailProcess();
            _SPM = new StandardProcessModel();

            _StandardProcessController = new StandardProcessController();

            ResetData();
            //처음에 생성될때
        }
Ejemplo n.º 4
0
        public CustomerInfo(Member member, BasicForm form)
        {
            InitializeComponent();

            _LoginInfo          = member;
            _Mother             = form;
            _CustomerController = new CustomerController();

            _SelectData   = new Customer();
            _SelectData_m = new CustomerMember();
            cb_customer_Select.SelectedIndex = 1;

            GetDgvCompany();
        }
Ejemplo n.º 5
0
        private Notice _SelectData;         //빈공간

        public NoticeBoard(Member member, BasicForm form)
        {
            InitializeComponent();
            _LoginInfo                = member;
            _Mother                   = form;
            _NoticeController         = new NoticeController();
            _SelectData               = new Notice(); //빈공간 생성
            this.dgv_Notice_List.Font = new Font("Tahoma", 10, FontStyle.Regular);

            cb_Notice_Select.SelectedIndex = 1;
            GetNotice();

            _SelectData.Title = dgv_Notice_List.Rows[0].Cells[2].Value.ToString();
            //adm_SelectData.Content = dgv_Notice_List.Rows[0].Cells[4].Value.ToString();

            SetUpdata(_SelectData);
        }
Ejemplo n.º 6
0
        public PartView(Member member, BasicForm form)
        {
            InitializeComponent();
            _LoginInfo      = member;
            _Mother         = form;
            _PartController = new PartController();
            _SelectData     = new ProductItem();

            GetDgvPart();

            _SelectData.No       = (int)dgv_Part.Rows[0].Cells[0].Value;
            _SelectData.Division = dgv_Part.Rows[0].Cells[1].Value.ToString();
            _SelectData.Code     = dgv_Part.Rows[0].Cells[2].Value.ToString();
            _SelectData.Name     = dgv_Part.Rows[0].Cells[3].Value.ToString();
            _SelectData.EName    = dgv_Part.Rows[0].Cells[4].Value.ToString();
            SetUpdata(_SelectData);

            ProductComboboxListAdd();
        }
Ejemplo n.º 7
0
        public DefaultCode(Member member, BasicForm form)
        {
            InitializeComponent();
            _LoginInfo             = member;
            _Mother                = form;
            _DefaultCodeController = new DefaultCodeController();

            dc_rankofmember.SetForm = this;
            dc_rankofmember.SetList = _DefaultCodeController.GetList("rankofmember");


            dc_departmentofmember.SetForm = this;
            dc_departmentofmember.SetList = _DefaultCodeController.GetList("departmentofmember");


            dc_brandofmachine.SetForm = this;
            dc_brandofmachine.SetList = _DefaultCodeController.GetList("brandofmachine");


            dc_purposeofmachine.SetForm = this;
            dc_purposeofmachine.SetList = _DefaultCodeController.GetList("purposeofmachine");



            dc_groupofcustomer.SetForm = this;
            dc_groupofcustomer.SetList = _DefaultCodeController.GetList("groupofcustomer");


            dc_defaultdetailprocess.SetForm = this;
            dc_defaultdetailprocess.SetList = _DefaultCodeController.GetList("defaultdetailprocess");

            dc_divisionofproduct.SetForm = this;
            dc_divisionofproduct.SetList = _DefaultCodeController.GetList("divisionofproduct");

            dc_groupofproduct.SetForm = this;
            dc_groupofproduct.SetList = _DefaultCodeController.GetList("groupofproduct");
        }
Ejemplo n.º 8
0
 public PartView(Member member, BasicForm form)
 {
     InitializeComponent();
     _LoginInfo = member;
     _Mother    = form;
 }