public TimelineWindowController() :
     base("TimelineWindow")
 {
     tagsListController = new TagsListViewController();
     quickSearchTextBox = new QuickSearchTextBoxAdapter();
     toastNotifications = new ToastNotificationsViewAdapter();
 }
        public SequenceDiagramWindowController() :
            base("SequenceDiagramWindow")
        {
            tagsListController = new TagsListViewController();
            quickSearchTextBox = new QuickSearchTextBoxAdapter();
            toastNotifications = new ToastNotificationsViewAdapter();

            Window.owner = this;
        }
        // Shared initialization code
        void Initialize()
        {
            var sysFont = NSFont.SystemFontOfSize(NSFont.SystemFontSize);

            resources = new Drawing.Resources(sysFont.FontName,
                                              (float)NSFont.SystemFontSize,
                                              bookmarkIcon: new LJD.Image(NSImage.ImageNamed("TimelineBookmark.png")));
            legendDataSource = new CollectionViewDataSource()
            {
                Resources = resources
            };
            toastNotifications = new ToastNotificationsViewAdapter();
        }
        // Shared initialization code
        void Initialize()
        {
            tagsListController = new TagsListViewController();
            quickSearchTextBox = new QuickSearchTextBoxAdapter();
            toastNotifications = new ToastNotificationsViewAdapter();

            var fontSz = (NSFont.SystemFontSize + NSFont.SmallSystemFontSize) / 2f;

            this.resources = new Resources(
                NSFont.SystemFontOfSize(NSFont.SystemFontSize).FamilyName, (float)fontSz);

            this.resources.BookmarkImage       = new LJD.Image(NSImage.ImageNamed("Bookmark.png"));
            this.resources.FocusedMessageImage = new LJD.Image(NSImage.ImageNamed("FocusedMsgSlave.png"));
            this.resources.FocusedMsgSlaveVert = new LJD.Image(NSImage.ImageNamed("FocusedMsgSlaveVert.png"));

            Window.owner = this;
        }
示例#5
0
 // Shared initialization code
 void Initialize()
 {
     tagsListController = new TagsListViewController();
     quickSearchTextBox = new QuickSearchTextBoxAdapter();
     toastNotifications = new ToastNotificationsViewAdapter();
 }