public AddEditDistributionListTypeDialog()
        {
            InitializeComponent();

            model = new AddEditDistributionListTypeModel();
            DataContext = model;
            model.View = this;
        }
        public AddEditDistributionListTypeDialog(int distributionListTypeId)
        {
            if (DesignerProperties.IsInDesignTool)
            {
                return;
            }
            // Required to initialize variables
            InitializeComponent();

            model = new AddEditDistributionListTypeModel(distributionListTypeId);
            model.DataSourceLoaded += model_DataSourceLoaded;
        }