private int _searchLastFound = -1; // Ultimo index del item encontrado public MainForm() { InitializeComponent(); _captures = new List <CaptureRecord>(); notifyIcon.ContextMenuStrip = trayMenuStrip; // Load settings if (!Settings.FormSize.IsEmpty) { StartPosition = FormStartPosition.Manual; Location = Settings.FormLocation; Size = Settings.FormSize; if (Settings.FormState == FormWindowState.Maximized) { WindowState = FormWindowState.Maximized; } if (Settings.LogOpened) { LogForm.Show(); } Output.LogEnabled = Settings.LogEnabled; _isViewAsHexOn = Settings.ViewAsHex; _isAutoScrollOn = Settings.AutoScroll; splitContainerTabsAndHex.SplitterDistance = Settings.SpliterDistanceTabsAndHex; splitFilterAndConversions.SplitterDistance = Settings.SpliterDistanceFilterAndConversions; } InitListViews(); Resize += OnResize; Closed += frmMainClosed; FilterManager.LoadTempFilterList(); LoadFilterItems(); LoadSendListItems(); LoadHotKeys(); UpdateControls(); }
private void tsmiViewLog_Click(object sender, EventArgs e) { LogForm.Show(); }