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);
        }
Exemple #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);
        }