Example #1
0
        //event handelers
        private void open_Window(object sender, RoutedEventArgs e)
        {
            isLoading = false;
            AddWindow add = new AddWindow();

            add.Initalize();
            add.ShowDialog();
            AddWindow.PreviousWebsites.Clear();
            AddWindow.LoadFile(AddWindow.FileName, true);
            InitalizeWindow();
            isLoading = true;
        }
Example #2
0
 //constructor
 public MainWindow()
 {
     InitializeComponent();
     AddWindow.LoadFile(AddWindow.FileName, true);
     InitalizeWindow();
 }