private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            AddResource type = new AddResource(this);

            type.Show();
            addToResourcesToShow();
        }
        private void AddResource_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            AddResource addResource = new AddResource(this);

            addResource.Show();
            addToResourcesToShow();
        }