public Add_medicine_Routine(RegisterCustomer registerCustomer)
 {
     InitializeComponent();
     routingDao            = new RoutingDAO();
     customerDao           = new CustomerDAO();
     dao                   = new DAO();
     this.registerCustomer = registerCustomer;
 }
Esempio n. 2
0
        public MainMenu()
        {
            this.ShowInTaskbar = false;
            InitializeComponent();
            this.routingDao = new RoutingDAO();
            this.productDao = new ProductDAO();
            this.webDao     = new WebDAO();
            searchAndDisplay();


            new Login(this, "", "", 0).Show();
            this.Opacity = 0;
        }
        public RoutingDetails(int customerID)
        {
            InitializeComponent();
            routingDao = new RoutingDAO();


            routingList = routingDao.getRoutingList(customerID);

            foreach (Routing i in routingList)
            {
                listBox1.Items.Add(routingDao.getRoutingContent(i));
            }
        }
Esempio n. 4
0
 public RegisterCustomer()
 {
     InitializeComponent();
     this.routingDao  = new RoutingDAO();
     this.customerDao = new CustomerDAO();
 }