コード例 #1
0
        public CategoriesVM(
            IDependencyComposer dependencyComposer,
            ILoadingWaitVM loadingWaitVM,
            ICategoryRepository categoryRepository,
            IRibbonTextBoxVM filterRibbonTextBoxVM,
            IRibbonCheckBoxVM caseSensitiveRibbonCheckBoxVM)
        {
            _dependencyComposer = dependencyComposer;
            _categoryRepository = categoryRepository;
            AdornerContent      = loadingWaitVM;

            FilterRibbonTextBox = filterRibbonTextBoxVM;
            FilterRibbonTextBox.TextBoxWidth     = 100;
            FilterRibbonTextBox.PropertyChanged += FilterRibbonTextBoxPropertyChanged;

            CaseSensitiveRibbonCheckBox                  = caseSensitiveRibbonCheckBoxVM;
            CaseSensitiveRibbonCheckBox.Label            = "case sensitive";
            CaseSensitiveRibbonCheckBox.PropertyChanged += CaseSensitiveRibbonCheckBoxPropertyChanged;
        }
コード例 #2
0
        public CategoriesVM(
            IDependencyComposer dependencyComposer,
            ILoadingWaitVM loadingWaitVM,
            ICategoryRepository categoryRepository,
            IRibbonTextBoxVM filterRibbonTextBoxVM,
            IRibbonCheckBoxVM caseSensitiveRibbonCheckBoxVM)
        {
            _dependencyComposer = dependencyComposer;
            _categoryRepository = categoryRepository;
            AdornerContent = loadingWaitVM;

            FilterRibbonTextBox = filterRibbonTextBoxVM;
            FilterRibbonTextBox.TextBoxWidth = 100;
            FilterRibbonTextBox.PropertyChanged += FilterRibbonTextBoxPropertyChanged;

            CaseSensitiveRibbonCheckBox = caseSensitiveRibbonCheckBoxVM;
            CaseSensitiveRibbonCheckBox.Label = "case sensitive";
            CaseSensitiveRibbonCheckBox.PropertyChanged += CaseSensitiveRibbonCheckBoxPropertyChanged;
        }