Beispiel #1
0
        private void ucServiceConfig_Load(object sender, EventArgs e)
        {
            if (InitialSuccess)   //最小化的时候会重复加载,避免
            {
                return;
            }

            InitialSuccess = false;

            uiSyncContext = SynchronizationContext.Current;

            Connect();

            var listLogDays = client.GetLogInfoDates(serviceType);

            this.ucLog1.AddLogDateNode(listLogDays.ToArray());

            this.flowLayoutPanel1.Controls.Clear();
            this.taskProgressBar.Maximum = 0;

            this.rtxRealTimeLog.ContextMenuStrip = rtxContextMenuStrip;

            this.ucLog1.GetLogDetailClick += ucLog1_GetLogDetailClick;



            progressSynchronous = ProgressSynchronous.Create();
        }
Beispiel #2
0
        private void ucServiceConfig_Load(object sender, EventArgs e)
        {
            if (InitialSuccess)   //最小化的时候会重复加载,避免
            {
                return;
            }

            InitialSuccess = false;

            uiSyncContext = SynchronizationContext.Current;

            Connect();

            var listLogDays = client.GetLogInfoDates(serviceType);
            this.ucLog1.AddLogDateNode(listLogDays.ToArray());

            this.flowLayoutPanel1.Controls.Clear();
            this.taskProgressBar.Maximum = 0;

            this.rtxRealTimeLog.ContextMenuStrip = rtxContextMenuStrip;

            this.ucLog1.GetLogDetailClick += ucLog1_GetLogDetailClick;

            progressSynchronous = ProgressSynchronous.Create();
        }