Exemple #1
0
        public FormMain()
        {
            InitializeComponent();
            mFormLog = new FormLog();

            mCmd     = new Cmd(this);
            mMessage = new MessageDialog();
            mSyn     = SynchronizationContext.Current;

            initWindow();
            initProgressBar();
            initUserInfo();

            mThreadCmd   = new CmdsThread(mCmd, mMessage, this);
            mDeviceState = new UsbDeviceState(mSyn, mCmd, tabControlEx1);
            mDeviceState.start();

            setFlowPanelScroll(panelPage4);
            //setFlowPanelScroll(flowLayoutPanelHome);
            //setFlowPanelScroll(panel)
            new PanelComponet(panelApp, panelFrameware, mCmd, mThreadCmd, mProgressBarApp);
            mScreen = new ScreenCtrl(mCmd, pictureBoxScreen);

            initScreenContrl();
        }
Exemple #2
0
        public Form1()
        {
            InitializeComponent();
            mFormLog = new FormLog();

            mCmd     = new Cmd(this);
            mMessage = new MessageDialog();
            mSyn     = SynchronizationContext.Current;

            initWindow();
            initProgressBar();
            initUserInfo();

            mThreadCmd   = new CmdsThread(mCmd, mMessage, this);
            mDeviceState = new UsbDeviceState(mSyn, mCmd, tabControlEx1);
            mDeviceState.start();
        }