Click here to Skip to main content
15,504,703 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to preserve DataGridView row and text color when using column filters? Pin
Alex Dunlop21-Apr-21 7:34
Alex Dunlop21-Apr-21 7:34 
GeneralRe: How to preserve DataGridView row and text color when using column filters? Pin
Gerry Schmitz21-Apr-21 7:45
mveGerry Schmitz21-Apr-21 7:45 
GeneralRe: How to preserve DataGridView row and text color when using column filters? Pin
Alex Dunlop21-Apr-21 17:53
Alex Dunlop21-Apr-21 17:53 
GeneralRe: How to preserve DataGridView row and text color when using column filters? Pin
Dave Kreskowiak21-Apr-21 18:27
mveDave Kreskowiak21-Apr-21 18:27 
Questionrecord list access Pin
Member 1509020319-Apr-21 13:16
Member 1509020319-Apr-21 13:16 
AnswerRe: record list access Pin
Dave Kreskowiak19-Apr-21 18:51
mveDave Kreskowiak19-Apr-21 18:51 
GeneralRe: record list access Pin
Member 1509020319-Apr-21 20:43
Member 1509020319-Apr-21 20:43 
GeneralRe: record list access Pin
Pete O'Hanlon20-Apr-21 21:55
mvaPete O'Hanlon20-Apr-21 21:55 
You might want to try something like this:
C#
class felhasznalo
    {
        private adatlista adat = new adatlista();
        public adatlista items { return adat; }
    }
You can now access adat from outside your class.

The simple idea behind this concept is that you are exposing a property that allows external access to members of your class, but does it in a controlled manner. This is why I wrapped this in a property. You could, just make adatlista a public field and allow classes access to the public field but that's a separate debate.


modified 21-Apr-21 3:13am.

Questionc# How to access data in an other object Pin
Member 1509020319-Apr-21 3:29
Member 1509020319-Apr-21 3:29 
AnswerRe: c# How to access data in an other object Pin
OriginalGriff19-Apr-21 3:58
mveOriginalGriff19-Apr-21 3:58 
Question.net passive mvp implementation w unity novice questions Pin
Romar Nicholas Mandap18-Apr-21 16:26
Romar Nicholas Mandap18-Apr-21 16:26 
QuestionRecordlist in object blocked by error Pin
Member 1509020318-Apr-21 11:57
Member 1509020318-Apr-21 11:57 
AnswerRe: Recordlist in object blocked by error Pin
Mycroft Holmes18-Apr-21 12:25
professionalMycroft Holmes18-Apr-21 12:25 
AnswerRe: Recordlist in object blocked by error Pin
Dave Kreskowiak18-Apr-21 12:34
mveDave Kreskowiak18-Apr-21 12:34 
AnswerRe: Recordlist in object blocked by error Pin
James Curran20-Apr-21 4:37
James Curran20-Apr-21 4:37 
QuestionWhy BeginGetContext of HTTPListener within Window's Service didn't react or trigger? Pin
razzqc16-Apr-21 6:19
razzqc16-Apr-21 6:19 
AnswerRe: Why BeginGetContext of HTTPListener within Window's Service didn't react or trigger? Pin
Gerry Schmitz16-Apr-21 9:37
mveGerry Schmitz16-Apr-21 9:37 
GeneralRe: Why BeginGetContext of HTTPListener within Window's Service didn't react or trigger? Pin
razzqc16-Apr-21 11:06
razzqc16-Apr-21 11:06 
QuestionWhy GC.Collect() call twice required when use GC.WaitForPendingFinalizers() Pin
Mou_kol10-Apr-21 23:06
Mou_kol10-Apr-21 23:06 
AnswerRe: Why GC.Collect() call twice required when use GC.WaitForPendingFinalizers() Pin
OriginalGriff10-Apr-21 23:48
mveOriginalGriff10-Apr-21 23:48 
QuestionC# Unable to update data table values Pin
Mou_kol10-Apr-21 2:34
Mou_kol10-Apr-21 2:34 
AnswerRe: C# Unable to update data table values Pin
OriginalGriff10-Apr-21 3:13
mveOriginalGriff10-Apr-21 3:13 
GeneralRe: C# Unable to update data table values Pin
Mou_kol10-Apr-21 4:04
Mou_kol10-Apr-21 4:04 
GeneralRe: C# Unable to update data table values Pin
Dave Kreskowiak10-Apr-21 5:23
mveDave Kreskowiak10-Apr-21 5:23 
GeneralRe: C# Unable to update data table values Pin
OriginalGriff10-Apr-21 8:57
mveOriginalGriff10-Apr-21 8:57 

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.