Exemple #1
0
 public FRM_ORDERS_LIST()
 {
     InitializeComponent();
     if (frm == null)
     {
         frm = this;
     }
     if (raCA.Checked == true)
     {
         this.dgvOrders.DataSource = order.SearchOrders("");
     }
     else if (raMA.Checked == true)
     {
         this.dgvOrders.DataSource = order.SearchOrders3("");
     }
     else
     {
         this.dgvOrders.DataSource = order.SearchOrders2("");
     }
 }
        public A1_form()
        {
            InitializeComponent();

            this.DG_Produit.DataSource   = prd.GET_ALL_PRODUCTS();
            this.DG_Uti.DataSource       = login.SearchUsers("");
            this.DG_Cust.DataSource      = cust.GET_ALL_CUSTOMERS();
            this.DG_Commandes.DataSource = ord.SearchOrders("");

            DG_Cust.Columns[0].Visible = false;
            DG_Cust.Columns[5].Visible = false;
        }
 public FRM_ORDERS_LIST()
 {
     InitializeComponent();
     this.dgvOrders.DataSource = order.SearchOrders("");
 }