private Panel   getFightHistory()
        {
            Panel        newPanel = new Panel();
            DetailPartie detail   = new DetailPartie();

            //setposition and size of the panel
            newPanel.Location = new Point(1, YPanelLocation);
            newPanel.Size     = new Size(776, 186);

            //add detailpartie view to newpanel
            detail.TopLevel = false;
            newPanel.Controls.Add(detail);
            detail.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            detail.Dock            = DockStyle.Fill;
            detail.Show();

            //add panel to this view
            this.Controls.Add(newPanel);

            YPanelLocation += 186;
            return(newPanel);
        }
        private Panel getFightHistory()
        {
            Panel newPanel = new Panel();
            DetailPartie detail = new DetailPartie();

            //setposition and size of the panel
            newPanel.Location = new Point(1, YPanelLocation);
            newPanel.Size = new Size(776, 186);

            //add detailpartie view to newpanel
            detail.TopLevel = false;
            newPanel.Controls.Add(detail);
            detail.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            detail.Dock = DockStyle.Fill;
            detail.Show();

            //add panel to this view
            this.Controls.Add(newPanel);

            YPanelLocation += 186;
            return (newPanel);
        }