private void toolBar1_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
        {
            if (e.Button == btnHelp)
            {
                USkinAboutBox about = new USkinAboutBox();
                about.ShowDialog(this);
                return;
            }

            MessageBox.Show(this, "you clicked button " + e.Button.Text);
        }
Пример #2
0
        private void toolBar1_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
        {
            if(e.Button == btnHelp)
            {
                USkinAboutBox about=new USkinAboutBox ();
                about.ShowDialog(this);
                return;
            }

            MessageBox.Show(this,"you clicked button " + e.Button.Text);
        }