示例#1
0
        private void FlexForm_Load(object sender, EventArgs e)
        {
            SetDisplayOptions();
            Display.HighlightActive = false;

            RedoStack      = new StackViewer(_editorOptions);
            RedoHost.Child = RedoStack;
            UndoStack      = new StackViewer(_editorOptions);
            UndoHost.Child = UndoStack;
        }
示例#2
0
        private void FlexForm_Load(object sender, EventArgs e)
        {
            SetDisplayOptions();
            Display.HighlightActive = false;

            RedoStack      = new StackViewer(_editorOptions);
            RedoHost.Child = RedoStack;
            UndoStack      = new StackViewer(_editorOptions);
            UndoHost.Child = UndoStack;

            var location = Assembly.GetExecutingAssembly().Location;
            var path     = Path.GetDirectoryName(location);

            _configWatcher = new ConfigWatcher(path);
        }