Add a tooltip
This commit is contained in:
parent
71cf7c19c1
commit
caf7f8cbd2
@ -32,6 +32,8 @@ namespace SpriteLibrary
|
||||
Point DragStart = new Point(-1, -1);
|
||||
Rectangle ChosenArea = new Rectangle(1,1,100,100);
|
||||
|
||||
ToolTip myToolTip = new ToolTip();
|
||||
|
||||
internal SpriteEntryForm(SpriteDatabase theDatabase, List<SpriteInfo> ListToWorkOn, Size GridSize)
|
||||
{
|
||||
InitializeComponent();
|
||||
@ -47,10 +49,16 @@ namespace SpriteLibrary
|
||||
pbImageField.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
pbImageField.BackgroundImage = new Bitmap(600, 800);
|
||||
MyController = new SpriteController(pbImageField);
|
||||
|
||||
myToolTip.AutoPopDelay = 5000;
|
||||
myToolTip.AutomaticDelay = 500;
|
||||
|
||||
PopulateMenu();
|
||||
UpdateMenu();
|
||||
SpriteInformationToForm();
|
||||
UpdateMenu();
|
||||
|
||||
myToolTip.SetToolTip(btnNewAnimation, "Create another animation for the current sprite.");
|
||||
}
|
||||
|
||||
internal List<SpriteInfo> GetUpdatedList()
|
||||
|
Loading…
Reference in New Issue
Block a user