예제 #1
0
        public MainForm()
        {
            InitializeComponent();
            ExceptionHandler.Instance.ErrorOccur += InstanceErrorOccur;
            MethodExecuter.Instance.MethodExecuteRequestEvent += new EventHandler<ActionArgs>(InstanceMethodExecuteRequestEvent);
            MethodExecuter.Instance.MethodExecuteUpdateProgressEvent += new EventHandler<ProgressiveUpdateArgs>(InstanceMethodExecuteUpdateProgressEvent);


            // Init Tree view
            treeMenu = new TreeMenu
                           {
                               ShowHint = DockState.DockLeft,
                               AllowEndUserDocking = false,
                               CloseButton = false,
                               IsFloat = false,
                               CloseButtonVisible = false
                           };
            treeMenu.Show(dockingPanel);
        }
예제 #2
0
        public MainForm()
        {
            InitializeComponent();
            ExceptionHandler.Instance.ErrorOccur += InstanceErrorOccur;
            MethodExecuter.Instance.MethodExecuteRequestEvent        += new EventHandler <ActionArgs>(InstanceMethodExecuteRequestEvent);
            MethodExecuter.Instance.MethodExecuteUpdateProgressEvent += new EventHandler <ProgressiveUpdateArgs>(InstanceMethodExecuteUpdateProgressEvent);


            // Init Tree view
            treeMenu = new TreeMenu
            {
                ShowHint            = DockState.DockLeft,
                AllowEndUserDocking = false,
                CloseButton         = false,
                IsFloat             = false,
                CloseButtonVisible  = false
            };
            treeMenu.Show(dockingPanel);
        }