コード例 #1
0
        /// <summary>
        /// Constructeur du service (initialisation des composants et de la connexion)
        /// </summary>
        public ServiceGSB()
        {
            InitializeComponent();
            connect = ConnexionSql.getInstance("10.30.0.113", "DUBOST", "DUBOST", "mdubost");

            /* +---------+-------------+-----------------+
            |         | Lycée       | Maison          |
            +---------+-------------+-----------------+
            | Adresse | 10.30.0.113 | slam.siolms.pro |
            +---------+-------------+-----------------+ */
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: MEECHAIVincent/GSB_Mission_4
        /// <summary>
        /// Affichage du formulaire et initialisation de la connexion
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Form1_Load(object sender, EventArgs e)
        {
            connect = ConnexionSql.getInstance("10.30.0.113", "DUBOST", "DUBOST", "mdubost");

            /* +---------+-------------+-----------------+
            |         | Lycée       | Maison          |
            +---------+-------------+-----------------+
            | Adresse | 10.30.0.113 | slam.siolms.pro |
            +---------+-------------+-----------------+ */

            afficher();
        }