Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: DAL Exception Handling Pin
Gerry Schmitz16-Nov-19 2:45
mveGerry Schmitz16-Nov-19 2:45 
SuggestionRe: DAL Exception Handling Pin
Richard Deeming15-Nov-19 5:29
mveRichard Deeming15-Nov-19 5:29 
GeneralRe: DAL Exception Handling Pin
Kevin Marois15-Nov-19 5:55
professionalKevin Marois15-Nov-19 5:55 
GeneralRe: DAL Exception Handling Pin
Richard Deeming15-Nov-19 6:43
mveRichard Deeming15-Nov-19 6:43 
QuestionLINQ sort and group dates by month and day, ignore year Pin
Mc_Topaz15-Nov-19 0:38
Mc_Topaz15-Nov-19 0:38 
AnswerRe: LINQ sort and group dates by month and day, ignore year Pin
Richard Deeming15-Nov-19 1:28
mveRichard Deeming15-Nov-19 1:28 
GeneralRe: LINQ sort and group dates by month and day, ignore year Pin
Mc_Topaz15-Nov-19 2:38
Mc_Topaz15-Nov-19 2:38 
QuestionDispose a Tooltip Pin
ConnerMcLoud15-Nov-19 0:32
ConnerMcLoud15-Nov-19 0:32 
Hello @all,

if have a question regarding a ToolTip i created:

C#
private void showTooltip(Control position, string Title, string Message)
{
    ToolTip t = new ToolTip();
    try
    {

        t.UseFading = true;
        t.UseAnimation = true;
        t.IsBalloon = true;
        t.ShowAlways = true;
        t.AutoPopDelay = 5000;
        t.InitialDelay = 500;
        t.ReshowDelay = 500;
        t.ToolTipTitle = Title;
        t.RemoveAll();
        t.SetToolTip(position, Message);
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message.ToString());
    }
}


The Issue is that i have to dispose Tooltip. But if i do the Tooltip will not be shown.
May i ask you for help?

Thank you very much.
AnswerRe: Dispose a Tooltip Pin
OriginalGriff15-Nov-19 2:25
mveOriginalGriff15-Nov-19 2:25 
AnswerRe: Dispose a Tooltip Pin
Gerry Schmitz15-Nov-19 5:41
mveGerry Schmitz15-Nov-19 5:41 
AnswerRe: Dispose a Tooltip Pin
Luc Pattyn15-Nov-19 6:22
sitebuilderLuc Pattyn15-Nov-19 6:22 
QuestionType Overflow... Pin
Bernhard Hiller15-Nov-19 0:02
Bernhard Hiller15-Nov-19 0:02 
AnswerRe: Type Overflow... Pin
phil.o15-Nov-19 0:46
professionalphil.o15-Nov-19 0:46 
GeneralRe: Type Overflow... Pin
Bernhard Hiller15-Nov-19 0:49
Bernhard Hiller15-Nov-19 0:49 
AnswerRe: Type Overflow... Pin
Richard Deeming15-Nov-19 1:20
mveRichard Deeming15-Nov-19 1:20 
GeneralRe: Type Overflow... Pin
Bernhard Hiller15-Nov-19 4:55
Bernhard Hiller15-Nov-19 4:55 
QuestionAdding panels dynamically through user input Pin
jacko112313-Nov-19 1:34
jacko112313-Nov-19 1:34 
AnswerRe: Adding panels dynamically through user input Pin
OriginalGriff13-Nov-19 1:45
mveOriginalGriff13-Nov-19 1:45 
GeneralRe: Adding panels dynamically through user input Pin
jacko112313-Nov-19 2:20
jacko112313-Nov-19 2:20 
SuggestionRe: Adding panels dynamically through user input Pin
Richard Deeming13-Nov-19 1:58
mveRichard Deeming13-Nov-19 1:58 
GeneralRe: Adding panels dynamically through user input Pin
jacko112313-Nov-19 2:19
jacko112313-Nov-19 2:19 
AnswerRe: Adding panels dynamically through user input Pin
Luc Pattyn13-Nov-19 3:12
sitebuilderLuc Pattyn13-Nov-19 3:12 
QuestionHow to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246911-Nov-19 23:59
Member 1464246911-Nov-19 23:59 
AnswerRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
OriginalGriff12-Nov-19 0:07
mveOriginalGriff12-Nov-19 0:07 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246912-Nov-19 0:29
Member 1464246912-Nov-19 0:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.