Example #1
0
		public theMainWindow()
		{
			this.InitializeComponent();
            //undoButton.Command = System.Windows.Input.ApplicationCommands.Undo;
            //undoButton.IsEnabled = true;
            codemanager = new CodeManager();
            codeEditor = new CodeEditor();
            this.srcList.ItemsSource = fileList;
            this.srcList.DisplayMemberPath = "Name";
            this.srcList.SelectedValuePath = "ID";
			// 在此点之下插入创建对象所需的代码。
            
           

		}
Example #2
0
 public InsertCodeCommand(CodeManager setCodeManager)
 {
     this.codeManager = setCodeManager;
     //this.index = setIndex;
     //this.ch = setCh;
 }
Example #3
0
 public CodeEditor()
 {
     codemanager = new CodeManager();
 }