public MultiSDI()
 {
     this.IsSingleInstance = true;
     this.ShutdownStyle    = ShutdownMode.AfterAllFormsClose;
     history            = new SingleLinkedList();
     favorites          = new SingleLinkedList();
     settingsProperties = new SettingsProperties();
 }
        public SettingsForm(SettingsProperties passed)
        {
            outProperties = passed;
            InitializeComponent();

            homePageTextBox.Text = outProperties.HomePage;
            numMinutesNotifyNumericUpDown.Value = outProperties.NumMinutesForNotify;
            initBindings();

            printStyler       = new PrintStyler();
            printStyler.Title = "Settings";
        }
        public void GetSavedState()
        {
            if ((settingsProperties = OpenSettings()) == null)
            {
                settingsProperties = new SettingsProperties();
            }

            if ((history = OpenHistory()) == null)
            {
                history = new SingleLinkedList();
            }

            if ((favorites = OpenFavotires()) == null)
            {
                favorites = new SingleLinkedList();
            }
        }