Click here to Skip to main content
16,005,178 members
Home / Discussions / C#
   

C#

 
GeneralRe: UserControl and how to add controls to it Pin
Heath Stewart13-May-04 3:38
protectorHeath Stewart13-May-04 3:38 
GeneralRe: UserControl and how to add controls to it Pin
Boaz V13-May-04 3:48
Boaz V13-May-04 3:48 
GeneralCreating Installation Package for a C# Application with web reference Pin
koosala13-May-04 1:22
koosala13-May-04 1:22 
GeneralRe: Creating Installation Package for a C# Application with web reference Pin
Aryadip13-May-04 1:49
Aryadip13-May-04 1:49 
GeneralRe: Creating Installation Package for a C# Application with web reference Pin
koosala14-May-04 0:31
koosala14-May-04 0:31 
GeneralRe: Creating Installation Package for a C# Application with web reference Pin
Heath Stewart13-May-04 2:00
protectorHeath Stewart13-May-04 2:00 
GeneralRe: Creating Installation Package for a C# Application with web reference Pin
Anonymous18-May-04 4:35
Anonymous18-May-04 4:35 
GeneralThread problem Pin
michael.wikstrom13-May-04 1:08
michael.wikstrom13-May-04 1:08 
I seem to be having a problem with threads. I have modified the main function, so that i can run one application first, then when it disposes itself it will jump to the next line in the main function and finally i run the second application. I get errors with window handlers and controls not showing any graphics although i have invoked them. Am i missing something important here?


[STAThread]
static void Main()
{
try
{
Client c = new Client();
GameClient g;

Application.Run(c);
while(!SHUTDOWN)
{
if (!SHUTDOWN)
{
g = new GameClient(c.connection.Socket,c.connection.Username,c.connection.Table,c.connection.Users);
Application.Run(g);
Thread.Sleep(1000);
//c = new Client();
//c = new Client(c.connection.Socket,c.connection.User);
//Application.Run(c);
SHUTDOWN = true;
}
}
}
catch(Exception ex)
{
MessageBox.Show("Client.Main " + ex.Message);
}
}
GeneralUsercontrol Problem Pin
Anfernius12-May-04 23:43
Anfernius12-May-04 23:43 
GeneralRe: Usercontrol Problem Pin
Aryadip13-May-04 0:10
Aryadip13-May-04 0:10 
GeneralRe: Usercontrol Problem Pin
Anfernius13-May-04 0:55
Anfernius13-May-04 0:55 
GeneralRe: Usercontrol Problem Pin
Heath Stewart13-May-04 3:15
protectorHeath Stewart13-May-04 3:15 
GeneralRe: Usercontrol Problem Pin
Anfernius13-May-04 6:19
Anfernius13-May-04 6:19 
GeneralRe: Usercontrol Problem Pin
Heath Stewart13-May-04 3:05
protectorHeath Stewart13-May-04 3:05 
GeneralDragDrop registration failed Pin
michael.wikstrom12-May-04 22:32
michael.wikstrom12-May-04 22:32 
GeneralRe: DragDrop registration failed Pin
Heath Stewart13-May-04 3:03
protectorHeath Stewart13-May-04 3:03 
GeneralGDI+ Image from Graphics Pin
mhmoud rawas12-May-04 22:10
mhmoud rawas12-May-04 22:10 
GeneralRe: GDI+ Image from Graphics Pin
sprout7412-May-04 22:31
sprout7412-May-04 22:31 
GeneralRe: GDI+ Image from Graphics Pin
mhmoud rawas12-May-04 23:35
mhmoud rawas12-May-04 23:35 
GeneralRe: GDI+ Image from Graphics Pin
Heath Stewart13-May-04 3:01
protectorHeath Stewart13-May-04 3:01 
GeneralRe: GDI+ Image from Graphics Pin
mhmoud rawas13-May-04 4:19
mhmoud rawas13-May-04 4:19 
GeneralRe: GDI+ Image from Graphics Pin
Heath Stewart13-May-04 4:50
protectorHeath Stewart13-May-04 4:50 
GeneralRe: GDI+ Image from Graphics Pin
mhmoud rawas14-May-04 19:45
mhmoud rawas14-May-04 19:45 
GeneralRe: GDI+ Image from Graphics Pin
Heath Stewart16-May-04 11:17
protectorHeath Stewart16-May-04 11:17 
Generalregd richtextbox and datagrid Pin
karteek12-May-04 21:47
karteek12-May-04 21:47 

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.