Click here to Skip to main content
15,887,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Command Line Argument Pin
Not Active12-Mar-08 4:19
mentorNot Active12-Mar-08 4:19 
GeneralCsharp ADO change data in datagridview Pin
baranils12-Mar-08 3:37
baranils12-Mar-08 3:37 
GeneralRe: Csharp ADO change data in datagridview Pin
LongRange.Shooter13-Mar-08 4:57
LongRange.Shooter13-Mar-08 4:57 
GeneralRe: Csharp ADO change data in datagridview Pin
baranils13-Mar-08 7:06
baranils13-Mar-08 7:06 
Generalevent Issue Pin
Harvey Saayman12-Mar-08 2:37
Harvey Saayman12-Mar-08 2:37 
GeneralRe: event Issue Pin
Martin#12-Mar-08 3:33
Martin#12-Mar-08 3:33 
GeneralRe: event Issue Pin
Harvey Saayman12-Mar-08 3:35
Harvey Saayman12-Mar-08 3:35 
GeneralRe: event Issue Pin
Harvey Saayman12-Mar-08 4:35
Harvey Saayman12-Mar-08 4:35 
hey martin

this is definitely a step in the right direction, but i think you might have misunderstood what im trying to do, which is my fault Big Grin | :-D

the app im developing will be a client server app. now what happens is a client sends a message to the server and the server passes that message on to all the clients

this receiving of messages happens in the MainForm and works perfectly. what needs to happen now is the main form must trigger an event that MUST be caught by ALL the open forms (remember some are dialog windows)

the reason for all this is the database, let say for example you are on clientPC1 on FrmUser (you will see a list of all the users for the program). now i (on clientPC2) will add a new user, my client app will send the server a "dataChanged" message that will be broadcast to all the logged in clients.

your MainForm will get this message and must trigger the event that will send the message to all the open windows in the app. in this case it must cause your FrmUsers to redo the dataBinding of the DataGridView.

so you'll always see the latest data infront of you Smile | :)

ps. im a noob at delegates & events ect, i have no idea what im doing Big Grin | :-D

Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)

GeneralRe: event Issue Pin
Martin#12-Mar-08 4:47
Martin#12-Mar-08 4:47 
GeneralRe: event Issue Pin
Martin#12-Mar-08 4:53
Martin#12-Mar-08 4:53 
GeneralRe: event Issue Pin
Harvey Saayman12-Mar-08 4:56
Harvey Saayman12-Mar-08 4:56 
GeneralRe: event Issue [modified] Pin
DaveyM6912-Mar-08 5:07
professionalDaveyM6912-Mar-08 5:07 
GeneralRe: event Issue Pin
Bekjong12-Mar-08 5:08
Bekjong12-Mar-08 5:08 
GeneralRe: event Issue [modified] Pin
DaveyM6912-Mar-08 5:35
professionalDaveyM6912-Mar-08 5:35 
Questionprogramming disaster Pin
paballo12-Mar-08 2:36
paballo12-Mar-08 2:36 
GeneralRe: programming disaster Pin
Dan Neely12-Mar-08 2:38
Dan Neely12-Mar-08 2:38 
GeneralRe: programming disaster Pin
Xmen Real 12-Mar-08 2:43
professional Xmen Real 12-Mar-08 2:43 
GeneralRe: programming disaster Pin
Xmen Real 12-Mar-08 2:41
professional Xmen Real 12-Mar-08 2:41 
GeneralRe: programming disaster Pin
J a a n s12-Mar-08 2:57
professionalJ a a n s12-Mar-08 2:57 
GeneralRe: programming disaster PinPopular
Justin Perez12-Mar-08 3:28
Justin Perez12-Mar-08 3:28 
GeneralRe: programming disaster Pin
Paul Conrad12-Mar-08 4:59
professionalPaul Conrad12-Mar-08 4:59 
GeneralRe: programming disaster Pin
Justin Perez12-Mar-08 5:15
Justin Perez12-Mar-08 5:15 
GeneralRe: programming disaster Pin
Paul Conrad12-Mar-08 5:20
professionalPaul Conrad12-Mar-08 5:20 
GeneralRe: programming disaster Pin
Justin Perez12-Mar-08 5:24
Justin Perez12-Mar-08 5:24 
GeneralRe: programming disaster Pin
Paul Conrad12-Mar-08 4:59
professionalPaul Conrad12-Mar-08 4:59 

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.