thumbnail-toolbar

Problem showing thumbnail toolbar in .net 3.5 form

折月煮酒 提交于 2019-12-02 05:34:56
问题 I am usign WindowsApiCodePack for windows 7 to make a thumbnail toolbar for my form. In the form shown event i am doing this: tbButton1 = new ThumbnailToolbarButton(new Icon("myOverlayIcn.ico"), "Next Event"); tbButton1.Click += new EventHandler<ThumbnailButtonClickedEventArgs>(button1_Click); tbButton2 = new ThumbnailToolbarButton(new Icon("myOverlayIcn.ico"), "Next Event"); tbButton2.Click += new EventHandler<ThumbnailButtonClickedEventArgs>(button2_Click); TaskbarManager.Instance

Problem showing thumbnail toolbar in .net 3.5 form

落花浮王杯 提交于 2019-12-02 01:55:56
I am usign WindowsApiCodePack for windows 7 to make a thumbnail toolbar for my form. In the form shown event i am doing this: tbButton1 = new ThumbnailToolbarButton(new Icon("myOverlayIcn.ico"), "Next Event"); tbButton1.Click += new EventHandler<ThumbnailButtonClickedEventArgs>(button1_Click); tbButton2 = new ThumbnailToolbarButton(new Icon("myOverlayIcn.ico"), "Next Event"); tbButton2.Click += new EventHandler<ThumbnailButtonClickedEventArgs>(button2_Click); TaskbarManager.Instance.ThumbnailToolbars.AddButtons(this.Handle, tbButton1, tbButton2); I am getting the following error of which i