public HistoryWindow() { InitializeComponent(); Icon = Properties.Resources.AppIcon; TheHistoryPanel.ShowAll = true; TheHistoryPanel.BuildRowList(); TheHistoryPanel.Dock = DockStyle.Fill; //TheHistoryPanel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; FormFontFixer.Fix(this); this.Controls.Add(TheHistoryPanel); TheHistoryWindow = this; // Stop flashing when we un-minimize the window TheHistoryWindow.Layout += new LayoutEventHandler(TheHistoryWindow_Layout); }
private void HistoryWindow_FormClosed(object sender, FormClosedEventArgs e) { TheHistoryWindow = null; }