using StructureHelperLogics.Models.BeamShears;
using System.Windows;

namespace StructureHelper.Windows.BeamShears
{
    /// <summary>
    /// Interaction logic for StirrupByDensityView.xaml
    /// </summary>
    public partial class StirrupByDensityView : Window
    {
        private readonly StirrupByDensityViewModel viewModel;
        public StirrupByDensityView(StirrupByDensityViewModel viewModel)
        {
            InitializeComponent();
            this.viewModel = viewModel;
            this.viewModel.ParentWindow = this;
            this.DataContext = this.viewModel;
        }
        public StirrupByDensityView(IStirrupByDensity stirrupByDensity) : this(new StirrupByDensityViewModel(stirrupByDensity))
        {
            
        }
    }
}
