Click here to Skip to main content
15,073,599 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionConnecting windows phone to PC over wiffi Pin
VishalDesai23-Aug-15 20:25
professionalVishalDesai23-Aug-15 20:25 
AnswerRe: Connecting windows phone to PC over wiffi Pin
Richard MacCutchan23-Aug-15 21:14
mveRichard MacCutchan23-Aug-15 21:14 
NewsLabel and LinkLabel deprecated Pin
Yvan Rodrigues15-Aug-15 9:08
professionalYvan Rodrigues15-Aug-15 9:08 
GeneralRe: Label and LinkLabel deprecated Pin
Richard Deeming17-Aug-15 3:08
mveRichard Deeming17-Aug-15 3:08 
GeneralRe: Label and LinkLabel deprecated Pin
Nitzan Levi22-Aug-15 10:24
MemberNitzan Levi22-Aug-15 10:24 
QuestionWhich function trigger to load next set of data when user scroll datagridview c# Pin
Tridip Bhattacharjee18-Jul-15 6:48
professionalTridip Bhattacharjee18-Jul-15 6:48 
AnswerRe: Which function trigger to load next set of data when user scroll datagridview c# Pin
Eddy Vluggen20-Jul-15 9:45
professionalEddy Vluggen20-Jul-15 9:45 
QuestionHow to Raise event before and after loading data to datagridview when virtual mode on Pin
Tridip Bhattacharjee18-Jul-15 6:47
professionalTridip Bhattacharjee18-Jul-15 6:47 
My datagridview virtual mode is turned on.so i have to populate grid this way

private void dataGridView1_CellValueNeeded(object sender,DataGridViewCellValueEventArgs e)
{
e.Value = memoryCache.RetrieveElement(e.RowIndex, e.ColumnIndex);
}

from these thread

http://stackoverflow.com/questions/13856869/notify-when-event-from-another-class-is-triggered
http://stackoverflow.com/questions/4378339/raise-an-event-of-a-class-from-a-different-class-in-c-sharp

i got the logic how to raise event to calling environment.

i am in confusion from where to raise event in my code. apologized that i could not submit my full code but here i am mentioning a url where i post my full working code. please have a look and guide me how to raise event from my code.

so this is the url where i post my full working code

http://stackoverflow.com/questions/31458197/
how-to-sort-datagridview-data-when-virtual-mode-enable/31475803#31475803

My Objective

i want to raise a event when data load will start and again want to raise another event after populating all rows of the grid.

my Event handler code would look like

public void BeginDataLoad(object sender, EventArgs e)
{
//Do something here
}

public void EndDataLoad(object sender, EventArgs e)
{
//Do something here
}

looking for help with code sample. thanks
tbhattacharjee

AnswerRe: How to Raise event before and after loading data to datagridview when virtual mode on Pin
Eddy Vluggen20-Jul-15 9:42
professionalEddy Vluggen20-Jul-15 9:42 
QuestionUse of Unicode characters -> Syntax. Pin
Mateo Hernández17-Jul-15 3:30
MemberMateo Hernández17-Jul-15 3:30 
AnswerRe: Use of Unicode characters -> Syntax. Pin
Richard MacCutchan17-Jul-15 3:33
mveRichard MacCutchan17-Jul-15 3:33 
GeneralRe: Use of Unicode characters -> Syntax. Pin
Mateo Hernández18-Jul-15 3:37
MemberMateo Hernández18-Jul-15 3:37 
QuestionWindows Form Shown Pin
Mateo Hernández12-Jul-15 12:58
MemberMateo Hernández12-Jul-15 12:58 
AnswerRe: Windows Form Shown Pin
erwinliong12-Jul-15 14:55
Membererwinliong12-Jul-15 14:55 
GeneralRe: Windows Form Shown Pin
Mateo Hernández12-Jul-15 20:45
MemberMateo Hernández12-Jul-15 20:45 
GeneralRe: Windows Form Shown Pin
Mateo Hernández12-Jul-15 23:11
MemberMateo Hernández12-Jul-15 23:11 
GeneralRe: Windows Form Shown Pin
Sascha Lefèvre13-Jul-15 4:20
professionalSascha Lefèvre13-Jul-15 4:20 
GeneralRe: Windows Form Shown Pin
Mateo Hernández17-Jul-15 3:14
MemberMateo Hernández17-Jul-15 3:14 
QuestionFolder Permissions - Urgent Help Please Pin
Seuss13-May-15 3:09
MemberSeuss13-May-15 3:09 
AnswerRe: Folder Permissions - Urgent Help Please Pin
Dave Kreskowiak25-May-15 3:57
mveDave Kreskowiak25-May-15 3:57 
AnswerRe: Folder Permissions - Urgent Help Please Pin
Nitzan Levi22-Aug-15 19:50
MemberNitzan Levi22-Aug-15 19:50 
QuestionAccordion in windows Forms Pin
sudevsu24-Apr-15 5:25
Membersudevsu24-Apr-15 5:25 
AnswerRe: Accordion in windows Forms Pin
Richard MacCutchan24-Apr-15 7:01
mveRichard MacCutchan24-Apr-15 7:01 
GeneralRe: Accordion in windows Forms Pin
sudevsu24-Apr-15 7:29
Membersudevsu24-Apr-15 7:29 
QuestionRe: Accordion in windows Forms Pin
Eddy Vluggen24-Apr-15 7:28
professionalEddy Vluggen24-Apr-15 7:28 

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.