Exemple #1
0
        private void Butt_New_week_Click(object sender, EventArgs e)
        {
            SQL_Manager sql = new SQL_Manager();

            sql.ClearDataBase();

            Program.DP.FM.OpenMainF();

            this.Hide();
        }
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Form_Manager form_manager = new Form_Manager();
            SQL_Manager  _Manager     = new SQL_Manager();

            DP.FM       = form_manager;
            DP._Manager = _Manager;
            DP.FM.Creation();

            Application.Run(DP.FM.Current_form);
        }