Beispiel #1
0
        private void NewFile_Executed(object sender, RoutedEventArgs e)
        {
            var newFile = DocumentService.CreateDocument("New Document");

            DockingService.ShowDockPanel(newFile);
            Keyboard.Focus(newFile.editor.TextArea);
        }
Beispiel #2
0
        public void ShowDockPanelTest1()
        {
            DockingService  target = new DockingService(); // TODO: Initialize to an appropriate value
            DockableContent doc    = null;                 // TODO: Initialize to an appropriate value

            target.ShowDockPanel(doc);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }