Esempio n. 1
0
        public VersionsToolbar(VersionsView view)
        {
            _view = view;

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

            Items.Add(new ToolStripSeparator());
        }
Esempio n. 2
0
        public VersionsToolbar(VersionsView view)
        {
            _view = view;

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

            Items.Add(new ToolStripSeparator());
        }