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

            contacts = new List <Contact>(); // new empty list of contacts

            dbViewForm      = new DBViewForm();
            contactInfoForm = new ContactInfoForm();

            Application.Run(dbViewForm);
        }
Пример #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            selectedContact = new Contact();

            dbViewForm      = new DBViewForm();
            contactInfoForm = new ContactInfoForm();
            aboutBoxForm    = new AboutBoxForm();

            Application.Run(dbViewForm);
        }