Beispiel #1
0
 private void defaultSongsListToolStripMenuItem_Click(object sender, EventArgs q)
 {
     if (splitContainerTop.Panel2Collapsed)
     {
         var r = new ReadOnlySearchableRichTextBox()
         {
             Dock = DockStyle.Fill,
             Text = ReadOnlySearchableRichTextBox.HELP + "\n\n" + SongsByStage.DEFAULTS,
         };
         splitContainerTop.Panel2.Controls.Add(r);
         splitContainerTop.Panel2Collapsed = false;
     }
     else
     {
         splitContainerTop.Panel2.Controls.Clear();
         splitContainerTop.Panel2Collapsed = true;
     }
 }
Beispiel #2
0
 private void defaultSongsListToolStripMenuItem_Click(object sender, EventArgs q)
 {
     if (splitContainerTop.Panel2Collapsed) {
         var r = new ReadOnlySearchableRichTextBox() {
             Dock = DockStyle.Fill,
             Text = ReadOnlySearchableRichTextBox.HELP + "\n\n" + SongsByStage.DEFAULTS,
         };
         splitContainerTop.Panel2.Controls.Add(r);
         splitContainerTop.Panel2Collapsed = false;
     } else {
         splitContainerTop.Panel2.Controls.Clear();
         splitContainerTop.Panel2Collapsed = true;
     }
 }