Example #1
0
        private TableDesigner()
        {
            InitializeComponent();

            viewModel   = new TableDesignerViewModel(log);
            DataContext = viewModel;

            Closing += delegate(object sender, CancelEventArgs e)
            {
                e.Cancel = true;
                Hide();
            };
        }
        private TableDesigner()
        {
            InitializeComponent();

            viewModel = new TableDesignerViewModel(log);
            DataContext = viewModel;

            Closing += delegate (object sender, CancelEventArgs e)
            {
                e.Cancel = true;
                Hide();
            };
        }