コード例 #1
0
        private void CreateTitlebarView()
        {
            var container    = new TitleBarContainer(CGRect.Empty);
            var firstSubView = ThemeFrameView.Subviews[0];

            ThemeFrameView.AddSubview(container, NSWindowOrderingMode.Below, firstSubView);
            _titleBarContainer = container;
            TitleBarView       = new TitleBarView(CGRect.Empty);
        }
コード例 #2
0
 private void CreateTitlebarView()
 {
     var container = new TitleBarContainer(RectangleF.Empty);
     var firstSubView = ThemeFrameView.Subviews[0];
     ThemeFrameView.AddSubview(container, NSWindowOrderingMode.Below, firstSubView);
     _titleBarContainer = container;
     TitleBarView = new TitleBarView(RectangleF.Empty);
 }