private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            BankViewModel bank = new BankViewModel();

            bank.Identifier = Guid.NewGuid();

            Bank_List_AddEdit addEditForm = new Bank_List_AddEdit(bank, true);

            addEditForm.BankCreatedUpdated += new BankHandler(SyncData);
            FlyoutHelper.OpenFlyout(this, ((string)Application.Current.FindResource("Podaci_o_bankama")), 95, addEditForm);
        }
        private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            if (CurrentBank == null)
            {
                MainWindow.WarningMessage = ((string)Application.Current.FindResource("Morate_odabrati_banku_za_izmenuUzvičnik"));
                return;
            }

            Bank_List_AddEdit addEditForm = new Bank_List_AddEdit(CurrentBank, false);

            addEditForm.BankCreatedUpdated += new BankHandler(SyncData);
            FlyoutHelper.OpenFlyout(this, ((string)Application.Current.FindResource("Podaci_o_bankama")), 95, addEditForm);
        }