public static void OnTitleChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            AccountSelectorControl uc = (AccountSelectorControl)sender;

            if (e.Property == MainComboBoxTitleProperty)
            {
                uc.txbMainCmb.Text = (string)e.NewValue;
            }
        }
        public static void OnComboBoxItemsChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            AccountSelectorControl uc = (AccountSelectorControl)sender;

            if (e.Property == MainComboBoxItemsProperty)
            {
                uc.cmbMainAcc.Items.Clear();

                foreach (var i in uc.MainComboBoxItems)
                {
                    uc.cmbMainAcc.Items.Add(i);
                }
            }
        }