示例#1
0
        public DialogColumnProperties(DialogColumnPropertiesViewModel viewModel)
        {
            InitializeComponent();
            ProfileFileData allProfileFileData = ProfileFileData.Instance;

            InitMessenger();
            this.viewModel   = viewModel;
            this.DataContext = viewModel;
        }
        private void DummyColumnProprtyData(ColumnProperties prop)
        {
            prop.AttributesProfileText = "RS";
            ColumnValuesGetter columnValuesGetter     = new ColumnValuesGetterImplementation();
            DialogColumnPropertiesViewModel viewModel = new DialogColumnPropertiesViewModel(new MemberModifierFactoryDummyImplementation(), prop, prop, columnValuesGetter);

            testColumn          = new DialogColumnProperties(viewModel);
            testColumn.Closing += TestColumn_Closing;
            testColumn.Show();
            this.Hide();
        }