Beispiel #1
0
 private void bOK_Click(object sender, EventArgs e)
 {
     Properties.Settings.Default.Continuous  = cContinuous.Checked;
     Properties.Settings.Default.NavigateAll = cNavigateAll.Checked;
     Properties.Settings.Default.NavigationWindowAlwaysOnTop = cNavigationWindowAlwaysOnTop.Checked;
     Globals.TSM.TopMost = cNavigationWindowAlwaysOnTop.Checked;
     Properties.Settings.Default.DisplayVerticalScrollBars = cDisplayVerticalScrollbars.SelectedIndex;
     foreach (TextSplitShow TSS in Globals.WindowList)
     {
         // I'd rather have this be Vertical than ForcedVertical, but there is the issue with Resizing. May change this in v2.1
         if (cDisplayVerticalScrollbars.SelectedIndex == 0)
         {
             TSS.tTextBox.ScrollBars = RichTextBoxScrollBars.ForcedVertical;
         }
         if (cDisplayVerticalScrollbars.SelectedIndex == 1)
         {
             TSS.tTextBox.ScrollBars = RichTextBoxScrollBars.Vertical;
         }
         if (cDisplayVerticalScrollbars.SelectedIndex == 2)
         {
             TSS.tTextBox.ScrollBars = RichTextBoxScrollBars.ForcedVertical;
         }
         TSS.DisplaySlide();
     }
     Close();
 }