Emveepee.MainWindow.MainWindow C# (CSharp) Method

MainWindow() public method

public MainWindow ( ) : System
return System
        public MainWindow()
            : base(Catalog.GetString ("Mono Visual Profiler"))
        {
            history = History.Load ();
            history.LogFiles.Changed += UpdateRecentLogs;
            history.Configs.Changed += UpdateRepeatSessions;
            DefaultSize = new Gdk.Size (800, 600);
            Gtk.Box box = new Gtk.VBox (false, 0);
            Gtk.UIManager uim = BuildUIManager ();
             			box.PackStart (uim.GetWidget ("/Menubar"), false, false, 0);
             			box.PackStart (uim.GetWidget ("/Toolbar"), false, false, 0);
            UpdateRecentLogs (null, null);
            UpdateRepeatSessions (null, null);
            content_area = new Gtk.VBox (false, 0);
            content_area.Show ();
            box.PackStart (content_area, true, true, 0);
            StartPage start_page = new StartPage (history);
            start_page.Activated += OnStartPageActivated;
            start_page.Show ();
            View = start_page;
            box.ShowAll ();
            Add (box);
        }