Example #1
0
        public MainWindow()
        {
            SizeToContent = SizeToContent.WidthAndHeight;

            InitializeComponent();
            Start();

            ContactsInformation.ContactsDictionary = ContactsIO.Load();
            UpdateContactsList();
        }
Example #2
0
 private void ExitBtn_Click(object sender, RoutedEventArgs e)
 {
     ContactsIO.Save(ContactsInformation.ContactsDictionary);
     Environment.Exit(0);
 }