private void gridExpences_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (sender != null)
            {
                DataGrid grid = sender as DataGrid;
                if (grid != null && grid.SelectedItems != null && grid.SelectedItems.Count == 1)
                {
                    var expence = grid.SelectedItem as Expences;

                    ExpenceWindow expenceWindow = new ExpenceWindow(expence);
                    expenceWindow.Show();
                }
            }
        }
        private void btnAddExpance_Click(object sender, RoutedEventArgs e)
        {
            ExpenceWindow ew = new ExpenceWindow();

            ew.Show();
        }