示例#1
0
        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);
        }
示例#2
0
 private void HistoryWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     TheHistoryWindow = null;
 }