Exemple #1
0
 private void AnalogyOTAForm_Load(object sender, EventArgs e)
 {
     Logs = new UCLogs();
     groupBox2.Controls.Add(Logs);
     Logs.Dock = DockStyle.Fill;
     Logs.RefreshUI();
     ;
 }
 public FileProcessor(ILogMessageCreatedHandler dataWindow)
 {
     DataWindow = dataWindow;
     if (dataWindow is UCLogs logs)
     {
         LogWindow = logs;
     }
 }
 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>();
 }
Exemple #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();
 }
Exemple #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>();
        }