AutoWikiBrowser.MainForm.editToolBar_MouseHover C# (CSharp) Метод

editToolBar_MouseHover() приватный Метод

private editToolBar_MouseHover ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        private void editToolBar_MouseHover(object sender, EventArgs e)
        {
            AWBToolTip tt = new AWBToolTip();

            ToolStripButton item = (sender as ToolStripButton);

            string text = "";

            switch (item.Name)
            {
            case "btntsDelete":
                text = "Delete this page";
                break;
            case "btntsIgnore":
                text = "Skip this page without saving and continue on the next";
                break;
            case "btntsSave":
                text = "Save your changes and continue";
                break;
            case "btntsChanges":
                text = "Preview your changes; please use this before saving.";
                break;
            case "btntsPreview":
                text = "Preview your changes";
                break;
            case "btntsStop":
                text = "Stops everything";
                break;
            case "btntsStart":
                text = "Start processing pages";
                break;
            case "btntsShowHideParameters":
                text = "Make the edit box span bottom of window";
                break;
            case "btntsShowHide":
                text = "Show or hide the panel";
                break;
            case "btntsFalsePositive":
                text = "Add to false positives file";
                break;
            }

            tt.Show(text, item.Owner);
        }
MainForm