コード例 #1
0
        public AddEditDistributionListDialog(int distributionListTypeId, int distributionListId)
        {
            InitializeComponent();

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

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