Omit selected tab and Dispose() Rtb
-
Hey all! :D I was just wondering if I should dispose of the dirty little RichTextBox control contained within the Selected TabPage that I will be removing? Or does that somehow just "magically" happen automatically? I searched on msdn and google (i did see code that disposes rtb's) but i couldn't find anything that says that it's neccessary? thank you jay p.s. <--- what does P.S stand for? and... does anybody know of a better way to remove a selected tab page other than:
if( Tc.TabPages.Count >= 1 )
{
Tc.TabPages.Remove(Tc.SelectedTab);
} // Tc = tabControl1 -
Hey all! :D I was just wondering if I should dispose of the dirty little RichTextBox control contained within the Selected TabPage that I will be removing? Or does that somehow just "magically" happen automatically? I searched on msdn and google (i did see code that disposes rtb's) but i couldn't find anything that says that it's neccessary? thank you jay p.s. <--- what does P.S stand for? and... does anybody know of a better way to remove a selected tab page other than:
if( Tc.TabPages.Count >= 1 )
{
Tc.TabPages.Remove(Tc.SelectedTab);
} // Tc = tabControl1I'll let Yogi Berra help you with this one ... hehe "ps: stands for post script ... which is what you say after you are through saying what you said before you said what you said"
-
I'll let Yogi Berra help you with this one ... hehe "ps: stands for post script ... which is what you say after you are through saying what you said before you said what you said"
-
haha thanks mate, i knew why people said p.s i was just unaware of what the letters actually stood for lol :-D
oh .. hehehe .. guess you didn't need Yogi's help ... lol My favorite yogiism (though he says he never said it) is: "Nobody goes to that restaurant anymore because it is always so crowded" ... lol Good luck with your Disposal problem ... neither Yogi nor i can help you with that.
-
oh .. hehehe .. guess you didn't need Yogi's help ... lol My favorite yogiism (though he says he never said it) is: "Nobody goes to that restaurant anymore because it is always so crowded" ... lol Good luck with your Disposal problem ... neither Yogi nor i can help you with that.