private void Sc_MouseClick(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Right)
            {
                currentsplitter = sender as SplitContainer;
                bool v = currentsplitter.Orientation == Orientation.Vertical;
                toolStripOrientation.Text = v ? "Change to Horizontal Split" : "Change to Vertical Split";
                toolStripSplitPanel1.Text = v ? "Split Left Panel" : "Split Top Panel";
                toolStripSplitPanel2.Text = v ? "Split Right Panel" : "Split Bottom Panel";
                toolStripMergePanel1.Text = v ? "Merge Left Panel" : "Merge Top Panel";
                toolStripMergePanel2.Text = v ? "Merge Right Panel" : "Merge Bottom Panel";

                toolStripSplitPanel1.Enabled = !(currentsplitter.Panel1.Controls[0] is SplitContainer);
                toolStripSplitPanel2.Enabled = !(currentsplitter.Panel2.Controls[0] is SplitContainer);
                toolStripMergePanel1.Enabled = currentsplitter.Panel1.Controls[0] is SplitContainer;
                toolStripMergePanel2.Enabled = currentsplitter.Panel2.Controls[0] is SplitContainer;
                contextMenuStripSplitter.Show(currentsplitter.PointToScreen(e.Location));
            }
        }