Beispiel #1
0
        public IssuesToolbar(IssuesView view)
        {
            _view = view;

            Items.Add(_btnRefresh = new ToolStripButton(Resources.StrRefresh, CachedResources.Bitmaps["ImgRefresh"],
                (sender, e) =>
                {
                    _view.RefreshContent();
                })
            {
                DisplayStyle = ToolStripItemDisplayStyle.Image,
            });

            Items.Add(new ToolStripSeparator());
        }
Beispiel #2
0
        public IssuesToolbar(IssuesView view)
        {
            _view = view;

            Items.Add(_btnRefresh = new ToolStripButton(Resources.StrRefresh, CachedResources.Bitmaps["ImgRefresh"],
                                                        (sender, e) =>
            {
                _view.RefreshContent();
            })
            {
                DisplayStyle = ToolStripItemDisplayStyle.Image,
            });

            Items.Add(new ToolStripSeparator());
        }