public VentesADate()
        {
            InitializeComponent();
            sqlserver = new SqlserverConnection();

            arrColumnLefts  = new List <int>();
            arrColumnWidths = new List <int>();
            iRow            = 0;
        }
        public Form1()
        {
            InitializeComponent();
            connector = new SqlserverConnection();

            productList = new DataTable();
            productList.Columns.Add("reference", typeof(String));
            productList.Columns.Add("designation", typeof(String));

            listeArticle.DataSource    = productList;
            listeArticle.DisplayMember = "designation";
            listeArticle.ValueMember   = "reference";
        }
        public GestionReliquat()
        {
            InitializeComponent();
            sqlconn = new SqlserverConnection();
            head    = null;

            arrColumnLefts  = new List <int>();
            arrColumnWidths = new List <int>();
            iRow            = 0;

            printPreviewDialog1.ClientSize = new System.Drawing.Size(960, 700);
            printPreviewDialog1.Location   = new System.Drawing.Point(29, 29);
        }
Exemple #4
0
        public Preparation()
        {
            InitializeComponent();
            dbcon = new SqlserverConnection();

            listeArticles = new DataTable();
            listeArticles.Columns.Add("reference", typeof(String));
            listeArticles.Columns.Add("designation", typeof(String));
            listeArticles.Columns.Add("prix vente", typeof(Decimal));

            articles.DataSource    = listeArticles;
            articles.DisplayMember = "designation";
            articles.ValueMember   = "reference";

            getArticles();
        }
        private int choix;/*
                           * vaut 0 si l'operation est basee sur les factures, 1 si il s'agit des devis
                           */

        public AnalyseArticles()
        {
            server = new SqlserverConnection();
            cnnp   = server.getConnector();
        }
Exemple #6
0
 public StockHebdo(int vendu = 1)
 {
     this.vendu = vendu;
     articles   = null;
     sqlsrv     = new SqlserverConnection();
 }