Inheritance: System.Windows.Forms.Panel
        /// <summary>
        /// Initializes the controls in panel pnlJournal.
        /// </summary>
        void InitializeJournal()
        {
            // pnlJournalRight
            pnlJournalRight        = new Panel();
            pnlJournalRight.Parent = pnlJournal;
            pnlJournalRight.Dock   = DockStyle.Fill;

            // pnlJournalOrder
            pnlJournalOrder        = new Journal_Ord();
            pnlJournalOrder.Parent = pnlJournalRight;
            pnlJournalOrder.Dock   = DockStyle.Fill;
            pnlJournalOrder.Cursor = Cursors.Hand;
            pnlJournalOrder.Click += new EventHandler(PnlJournal_Click);
            pnlJournalOrder.BtnRemoveJournal.Click += new EventHandler(BtnRemoveJournal_Click);
            pnlJournalOrder.BtnToggleJournal.Click += new EventHandler(BtnToggleJournal_Click);
            toolTip.SetToolTip(pnlJournalOrder, Language.T("Click to view Bar Explorer."));

            Splitter splitter1 = new Splitter();

            splitter1.Parent = pnlJournalRight;
            splitter1.Dock   = DockStyle.Bottom;
            splitter1.Height = space;

            // pnlJournalPosition
            pnlJournalPosition        = new Journal_Pos();
            pnlJournalPosition.Parent = pnlJournalRight;
            pnlJournalPosition.Dock   = DockStyle.Bottom;
            pnlJournalPosition.Cursor = Cursors.Hand;
            pnlJournalPosition.Click += new EventHandler(PnlJournal_Click);
            toolTip.SetToolTip(pnlJournalPosition, Language.T("Click to view Bar Explorer."));

            splJournal        = new Splitter();
            splJournal.Parent = pnlJournal;
            splJournal.Dock   = DockStyle.Left;
            splJournal.Width  = space;

            // pnlJournalData
            pnlJournalByBars                    = new Journal_Bars();
            pnlJournalByBars.Name               = "pnlJournalData";
            pnlJournalByBars.Parent             = pnlJournal;
            pnlJournalByBars.Dock               = DockStyle.Left;
            pnlJournalByBars.SelectedBarChange += new EventHandler(PnlJournal_SelectedBarChange);
            pnlJournalByBars.MouseDoubleClick  += new MouseEventHandler(PnlJournal_MouseDoubleClick);
            toolTip.SetToolTip(pnlJournalByBars, Language.T("Click to select a bar.") + Environment.NewLine + Language.T("Double click to view Bar Explorer."));

            // pnlJournalByPositions
            pnlJournalByPositions                         = new Journal_Positions();
            pnlJournalByPositions.Name                    = "pnlJournalByPositions";
            pnlJournalByPositions.Parent                  = pnlJournal;
            pnlJournalByPositions.Dock                    = DockStyle.Fill;
            pnlJournalByPositions.SelectedBarChange      += new EventHandler(PnlJournal_SelectedBarChange);
            pnlJournalByPositions.MouseDoubleClick       += new MouseEventHandler(PnlJournal_MouseDoubleClick);
            pnlJournalByPositions.BtnRemoveJournal.Click += new EventHandler(BtnRemoveJournal_Click);
            pnlJournalByPositions.BtnToggleJournal.Click += new EventHandler(BtnToggleJournal_Click);
            toolTip.SetToolTip(pnlJournalByPositions, Language.T("Click to select a bar.") + Environment.NewLine + Language.T("Double click to view Bar Explorer."));

            pnlJournal.Resize                  += new EventHandler(PnlJournal_Resize);
            pnlJournalRight.Visible             = Configs.JournalByBars;
            pnlJournalByBars.Visible            = Configs.JournalByBars;
            splJournal.Visible                  = Configs.JournalByBars;
            pnlJournalByPositions.Visible       = !Configs.JournalByBars;
            pnlJournalByPositions.ShowTransfers = Configs.JournalShowTransfers;

            return;
        }
        /// <summary>
        /// Initializes the controls in panel pnlJournal.
        /// </summary>
        void InitializeJournal()
        {
            // pnlJournalRight
            pnlJournalRight = new Panel();
            pnlJournalRight.Parent = pnlJournal;
            pnlJournalRight.Dock   = DockStyle.Fill;

            // pnlJournalOrder
            pnlJournalOrder = new Journal_Ord();
            pnlJournalOrder.Parent = pnlJournalRight;
            pnlJournalOrder.Dock   = DockStyle.Fill;
            pnlJournalOrder.Cursor = Cursors.Hand;
            pnlJournalOrder.Click += new EventHandler(PnlJournal_Click);
            pnlJournalOrder.BtnRemoveJournal.Click += new EventHandler(BtnRemoveJournal_Click);
            pnlJournalOrder.BtnToggleJournal.Click += new EventHandler(BtnToggleJournal_Click);
            toolTip.SetToolTip(pnlJournalOrder, Language.T("Click to view Bar Explorer."));

            Splitter splitter1 = new Splitter();
            splitter1.Parent   = pnlJournalRight;
            splitter1.Dock     = DockStyle.Bottom;
            splitter1.Height   = space;

            // pnlJournalPosition
            pnlJournalPosition = new Journal_Pos();
            pnlJournalPosition.Parent = pnlJournalRight;
            pnlJournalPosition.Dock   = DockStyle.Bottom;
            pnlJournalPosition.Cursor = Cursors.Hand;
            pnlJournalPosition.Click += new EventHandler(PnlJournal_Click);
            toolTip.SetToolTip(pnlJournalPosition, Language.T("Click to view Bar Explorer."));

            splJournal        = new Splitter();
            splJournal.Parent = pnlJournal;
            splJournal.Dock   = DockStyle.Left;
            splJournal.Width  = space;

            // pnlJournalData
            pnlJournalByBars = new Journal_Bars();
            pnlJournalByBars.Name   = "pnlJournalData";
            pnlJournalByBars.Parent = pnlJournal;
            pnlJournalByBars.Dock   = DockStyle.Left;
            pnlJournalByBars.SelectedBarChange += new EventHandler(PnlJournal_SelectedBarChange);
            pnlJournalByBars.MouseDoubleClick  += new MouseEventHandler(PnlJournal_MouseDoubleClick);
            toolTip.SetToolTip(pnlJournalByBars, Language.T("Click to select a bar.") + Environment.NewLine + Language.T("Double click to view Bar Explorer."));

            // pnlJournalByPositions
            pnlJournalByPositions = new Journal_Positions();
            pnlJournalByPositions.Name   = "pnlJournalByPositions";
            pnlJournalByPositions.Parent = pnlJournal;
            pnlJournalByPositions.Dock   = DockStyle.Fill;
            pnlJournalByPositions.SelectedBarChange += new EventHandler(PnlJournal_SelectedBarChange);
            pnlJournalByPositions.MouseDoubleClick  += new MouseEventHandler(PnlJournal_MouseDoubleClick);
            pnlJournalByPositions.BtnRemoveJournal.Click += new EventHandler(BtnRemoveJournal_Click);
            pnlJournalByPositions.BtnToggleJournal.Click += new EventHandler(BtnToggleJournal_Click);
            toolTip.SetToolTip(pnlJournalByPositions, Language.T("Click to select a bar.") + Environment.NewLine + Language.T("Double click to view Bar Explorer."));

            pnlJournal.Resize        += new EventHandler(PnlJournal_Resize);
            pnlJournalRight.Visible   = Configs.JournalByBars;
            pnlJournalByBars.Visible  = Configs.JournalByBars;
            splJournal.Visible        = Configs.JournalByBars;
            pnlJournalByPositions.Visible = !Configs.JournalByBars;

            return;
        }