Пример #1
0
 private void AnalogyOTAForm_Load(object sender, EventArgs e)
 {
     Logs = new UCLogs();
     groupBox2.Controls.Add(Logs);
     Logs.Dock = DockStyle.Fill;
     Logs.RefreshUI();
     ;
 }
Пример #2
0
 public FileProcessor(ILogMessageCreatedHandler dataWindow)
 {
     DataWindow = dataWindow;
     if (dataWindow is UCLogs logs)
     {
         LogWindow = logs;
     }
 }
Пример #3
0
 public PagingManager(UCLogs owner)
 {
     this.owner   = owner;
     pageSize     = Settings.PagingEnabled ? Settings.PagingSize : int.MaxValue;
     pages        = new List <DataTable>();
     currentTable = Utils.DataTableConstructor();
     pages.Add(currentTable);
     currentPageNumber = 1;
     allMessages       = new List <AnalogyLogMessage>();
 }
Пример #4
0
 private void OTALogs_Load(object sender, EventArgs e)
 {
     if (DesignMode)
     {
         return;
     }
     Logs = new UCLogs();
     groupBox2.Controls.Add(Logs);
     Logs.Dock = DockStyle.Fill;
     Logs.RefreshUI();
 }
Пример #5
0
        public PagingManager(UCLogs owner)
        {
            //CurrentColumns = new List<string>();
            this.owner = owner;
            pageSize   = Settings.PagingEnabled ? Settings.PagingSize : int.MaxValue;
            pages      = new List <DataTable>();

            currentTable = Utils.DataTableConstructor();
            //foreach (DataColumn column in currentTable.Columns)
            //{
            //    CurrentColumns.Add(column.ColumnName);
            //}
            pages.Add(currentTable);
            currentPageNumber = 1;
            allMessages       = new List <AnalogyLogMessage>();
        }