public AddEditDistributionListDialog(int distributionListTypeId, int distributionListId) { InitializeComponent(); this.Title = "Edit Distribution List"; model = new AddEditDistributionListModel(distributionListTypeId, distributionListId); model.DataSourceLoaded += model_DataSourceLoaded; }
public AddEditDistributionListDialog(int distributionListTypeId) { if (DesignerProperties.IsInDesignTool) { return; } // Required to initialize variables InitializeComponent(); model = new AddEditDistributionListModel(distributionListTypeId); model.DataSourceLoaded += model_DataSourceLoaded; }