Esempio n. 1
0
        private void ShowLayoutWindow(object sender, EventArgs e)
        {
            if (LayoutWindow == null)
            {
                LayoutWindow = new LayoutWindow();
            }

            LayoutWindow.ShowModal();
        }
        public LayoutWindow()
        {
            instance = this;

            InitializeComponent();

            page = new Page();

            treeView.Items.Clear();

            DataContext = page;

            // bind it later than InitializeComponent or else the handler will throw null reference exception
            breakpointComboBox.SelectionChanged += breakpointComboBox_SelectionChanged;

            CheckSelectedItem();
        }