Forum: C# Sep 7th, 2008 |
| Replies: 0 Views: 2,039 Hi everyone, I'm trying to create a simple toolbar with a button that has a little arrow on the side that opens a combobox in WPF I've found this on google:... |
Forum: C# Aug 30th, 2008 |
| Replies: 1 Views: 1,209 I was looking on google again and found the classes BinaryReader/Writer and I think I can get it working that way. I guess I should have looked a little longer. :icon_redface: |
Forum: C# Aug 30th, 2008 |
| Replies: 1 Views: 1,209 I'm writing a class that does a lot of reading and writing from a stream It needs to write bytes, sbytes, and signed or unsigned int32 and 16. I have been having trouble finding ways to read/write... |
Forum: C# Aug 28th, 2008 |
| Replies: 17 Views: 6,153 The problem was that I couldn't get the server and icon to both be able to access each others methods, but now that you show me what you ment I think it probably would have worked that way. But I've... |
Forum: C# Aug 27th, 2008 |
| Replies: 17 Views: 6,153 Could you give me an example of how to do that I think it sounds like the best solution. |
Forum: C# Aug 27th, 2008 |
| Replies: 17 Views: 6,153 If you're not into the singleton thing, you need to think of the separation between the display and server.
I dont' mind using a singleton. It just didn't work.
And I'm not sure how to do it using... |
Forum: C# Aug 27th, 2008 |
| Replies: 17 Views: 6,153 Thanks I think I'm going to try using nested classes see if i can get that working. (Oh and its only 8pm here). |
Forum: C# Aug 27th, 2008 |
| Replies: 17 Views: 6,153 Then why not pass srvr to the Notify_icon ?
Because then Server cannot access Notify_Icon thats my problem I can't get them both to see each other. |
Forum: C# Aug 27th, 2008 |
| Replies: 17 Views: 6,153 Ok now the error says
The name 'icon' does not exist in the current context
I changed the code to this.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;... |
Forum: C# Aug 27th, 2008 |
| Replies: 17 Views: 6,153 Thanks miculnegru, but I need both of the objects to call each others methods (so that server can change the icon and change its text from Running to Stopped).
I think I might need to rewrite... |
Forum: C# Aug 27th, 2008 |
| Replies: 17 Views: 6,153 Hi everyone, I'm trying to write a server application, but I'm having a bit of trouble. I keep getting this error
The name 'srvr' does not exist in the current context
I'm pretty sure I know what... |