예제 #1
0
        public Form1()
        {
            InitializeComponent();
            lite = new DatabaseLite();
            lite.initDatabase();
            //connection();
            connectedUser();

            //init objects
            fa     = null;
            ma     = null;
            de     = null;
            ehs    = null;
            shs    = null;
            risque = null;
            spm    = null;
            ds     = null;

            //position
            X = this.Top;
            Y = this.Left;

            menuStrip1.BackColor = Color.Black;
            menuStrip1.ForeColor = Color.White;

            decimalSeprerator = new CultureInfo("en-US");
            Thread.CurrentThread.CurrentCulture = decimalSeprerator;
        }
예제 #2
0
 private void parMaterielToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (spm == null)
     {
         StatsParMateriaux spm = new StatsParMateriaux();
         spm.Show();
     }
     else
     {
         spm.Activate();
     }
 }
예제 #3
0
        private void statistiquesMateriauxToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StatsParMateriaux statsmat = new StatsParMateriaux();

            statsmat.Show();
        }