Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to record sound from a mic Pin
Shyam Bharath27-Nov-08 18:34
Shyam Bharath27-Nov-08 18:34 
GeneralRe: how to record sound from a mic Pin
BahaaHany27-Nov-08 20:57
BahaaHany27-Nov-08 20:57 
GeneralRe: how to record sound from a mic Pin
Shyam Bharath27-Nov-08 22:56
Shyam Bharath27-Nov-08 22:56 
AnswerRe: how to record sound from a mic Pin
Pedram Behroozi27-Nov-08 21:09
Pedram Behroozi27-Nov-08 21:09 
QuestionGeneral programming ideea, just so I go the right way Pin
sodevrom27-Nov-08 11:15
sodevrom27-Nov-08 11:15 
AnswerRe: General programming ideea, just so I go the right way Pin
User 665827-Nov-08 11:39
User 665827-Nov-08 11:39 
GeneralRe: General programming ideea, just so I go the right way Pin
sodevrom27-Nov-08 11:45
sodevrom27-Nov-08 11:45 
GeneralRe: General programming ideea, just so I go the right way Pin
User 665827-Nov-08 14:01
User 665827-Nov-08 14:01 
sodevrom wrote:

But anyways, if I add controls in a tab page, and if I delete the tab page, are the controls from the tab page auto deleted ?


Unless the controls contain no unmanaged resources there should be no problems, but I'm not entirely sure myself.

sodevrom wrote:


How can I store the 3 objects so I can access them with ease. As I sayed, I can access the tab pages very easy :
lTabs[0]
I can't do the save for the objects. I would want to make it like this :
lOBj[0]

I can't do that becouse object1, and 3 (or 2 and 3) are different, and I can't make a list to store objects from different classes, right ?


Do you want to store multiple objects per tab page or only one object per tab page?
If it's only one object per tab page, then you can put it into the Tag property of the tab page and access it like that: object obj = lTabs[index].Tag

If you want to store multiple objects per tab page, then you could also store a List<object> into the Tag property. Another solution would be to store this array in a Dictionary<TabPage, List<object>> and access the list ob objects via List<object> objects = dic[TabPage];

regards

modified 12-Sep-18 21:01pm.

QuestionC# WinForms DataBinding? Pin
wbjohnson27-Nov-08 10:25
wbjohnson27-Nov-08 10:25 
AnswerRe: C# WinForms DataBinding? Pin
nelsonpaixao30-Nov-08 4:44
nelsonpaixao30-Nov-08 4:44 
GeneralRe: C# WinForms DataBinding? Pin
wbjohnson30-Nov-08 5:33
wbjohnson30-Nov-08 5:33 
QuestionTransparency, or alternative, in non-client area. Pin
Chris Copeland27-Nov-08 10:05
mveChris Copeland27-Nov-08 10:05 
AnswerRe: Transparency, or alternative, in non-client area. Pin
leppie27-Nov-08 22:02
leppie27-Nov-08 22:02 
QuestionI do not undertand arraylist or list Pin
netJP12L27-Nov-08 8:24
netJP12L27-Nov-08 8:24 
AnswerRe: I do not undertand arraylist or list Pin
User 665827-Nov-08 9:08
User 665827-Nov-08 9:08 
GeneralRe: I do not undertand arraylist or list Pin
Luc Pattyn27-Nov-08 10:12
sitebuilderLuc Pattyn27-Nov-08 10:12 
Questionhow to use variable form other class? C# Pin
ping_jacob27-Nov-08 7:30
ping_jacob27-Nov-08 7:30 
AnswerRe: how to use variable form other class? C# [modified] Pin
Kristian Sixhøj27-Nov-08 7:40
Kristian Sixhøj27-Nov-08 7:40 
AnswerRe: how to use variable form other class? C# Pin
Christian Graus27-Nov-08 10:11
protectorChristian Graus27-Nov-08 10:11 
AnswerRe: how to use variable form other class? C# [modified] Pin
Pedram Behroozi27-Nov-08 10:14
Pedram Behroozi27-Nov-08 10:14 
GeneralRe: how to use variable form other class? C# Pin
ping_jacob29-Nov-08 5:24
ping_jacob29-Nov-08 5:24 
GeneralRe: how to use variable form other class? C# Pin
Pedram Behroozi29-Nov-08 5:47
Pedram Behroozi29-Nov-08 5:47 
AnswerRe: how to use variable form other class? C# Pin
SelvaSR11-Dec-08 23:09
SelvaSR11-Dec-08 23:09 
QuestionHow to learn C# & .NET framework when I know C++ Pin
just.an.imbecile227-Nov-08 5:34
just.an.imbecile227-Nov-08 5:34 
AnswerRe: How to learn C# & .NET framework when I know C++ Pin
EliottA27-Nov-08 5:43
EliottA27-Nov-08 5:43 

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.