Пример #1
0
        private void btnAnalysis_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;

            try
            {
                frmAnalysis fa = new frmAnalysis();

                foreach (LogShowTabPage tp in m_tabPages.Values)
                {
                    if (tp.Parent != null && tp.LogRecordCount > 0)
                    {
                        fa.AddLog(m_app.AppGUID, tp.TableGuid, tp.Records);
                    }
                }

                fa.ShowDialog(this);
            }
            catch (Exception ex)
            {
                MessageBox.Show("日志分析失败,错误消息为:" + ex.Message);
            }
            finally
            {
                if (this.Cursor != Cursors.Default)
                {
                    this.Cursor = Cursors.Default;
                }
            }
        }
Пример #2
0
        private void 显示动画ToolStripMenuItem_Click(object sender, EventArgs e)
        {
#if DEBUG
            frmAnalysis fa = new frmAnalysis();
            CGeneralFuncion.ShowWindow(this, fa, false);
#endif
        }