Forum: C# 31 Days Ago |
| Replies: 12 Views: 390 :) You're welcome and good luck with your studies! |
Forum: C# 32 Days Ago |
| Replies: 8 Views: 280 Hello.
Or use using directive inside of target namespace:
namespace RestaurantSoftClassLib.User
{
using RestaurantSoftClassLib.Karyawan;
class User
{
Karyawan karyawan; ... |
Forum: C# 32 Days Ago |
| Replies: 8 Views: 280 Hello.
That's weird .. works fine for me when I use this:
using RestaurantSoftClassLib.Karyawan;
and then
Karyawan karyawan; |
Forum: C# 33 Days Ago |
| Replies: 5 Views: 374 Hello again and welcome to DaniWeb :)
Ok, let's start from error, that you get:
I'm not sure if I'm right .. depends on what is CSocketPacket1. Looks like a typo :) If it's not - is there any... |
Forum: C# 33 Days Ago |
| Replies: 5 Views: 314 I do .. I do :) moreover - you can see that I give my help mostly for newbies ..
Yeah, you're right .. everything's possible. But this words made me feel a lil bit confused:
But the only... |
Forum: C# 33 Days Ago |
| Replies: 1 Views: 203 Hello, tobibabs.
Here (http://www.daniweb.com/forums/announcement61-2.html) is what you need. |
Forum: C# 34 Days Ago |
| Replies: 5 Views: 314 Ahem .. We only give homework help to those who show effort (http://www.daniweb.com/forums/announcement61-2.html) |
Forum: C# 34 Days Ago |
| Replies: 5 Views: 374 Hello, there's a suggestion in error message:
Have you tried rebuilding?
One more thing:
Do you have such one? If no - remove the reference to it. Seems like the error lays somewhere near... |
Forum: C# 34 Days Ago |
| Replies: 3 Views: 315 Hello.
I'm not sure if this is what you're looking for, but to get array of child forms, you can use the MdiChildren property, e.g.:
this.MdiChildren[0].BackColor = Color.Black;
//and in same... |
Forum: C# 34 Days Ago |
| Replies: 4 Views: 193 You're welcome .. please, mark this thread as solved if we're done with you problem :) |
Forum: C# 34 Days Ago |
| Replies: 4 Views: 193 Hello.
Dunno if it will suit your problem, but as an option - you could remove the header of the window. That's gonna help you to set the size to whatever you want. |
Forum: C# 34 Days Ago |
| Replies: 12 Views: 390 Ok, let's take an example:
137*1456
We can factorize it:
137*(1000 + 400 + 50 + 6)
To see the connection, we can convert this in form like this:
137*(1*10^3 + 4*10^2 + 5*10^1 + 6*10^0)... |
Forum: C# Oct 30th, 2009 |
| Replies: 2 Views: 174 This guy (http://www.google.com/#hl=en&source=hp&q=c%23+working+with+registry&btnG=Google+Search&aq=f&aqi=&oq=c%23+working+with+registry&fp=8ec9ea851cee2c5b) has a lot of ideas/suggestions, regarding... |
Forum: C# Oct 30th, 2009 |
| Replies: 3 Views: 270 Hello, just to make sure .. you have WinForms Project or Web-vased? |
Forum: C# Oct 30th, 2009 |
| Replies: 6 Views: 249 |
Forum: C# Oct 30th, 2009 |
| Replies: 6 Views: 249 Sure.
Here's pretty interesting class for history handling (with example project): Navigational history (go back/forward) for WinForms controls... |
Forum: C# Oct 30th, 2009 |
| Replies: 12 Views: 390 :) you're welcome. Good luck with your project! |
Forum: C# Oct 30th, 2009 |
| Replies: 6 Views: 249 Hello.
I have a doubt about if there a custom class or something similar for that purpose in .Net Framework (for Windows Form).
But that's doesn't stop you from implementing it by yourself.... |
Forum: C# Oct 30th, 2009 |
| Replies: 12 Views: 390 I understood you.
That's pretty clear, but also, from your words: you go through arrays and their length is 1 less than sum array has. So the first element of this array would never be changed.... |
Forum: C# Oct 30th, 2009 |
| Replies: 7 Views: 301 You're welcome .. please, mark this thread as Solved if your question is settled :) |
Forum: C# Oct 30th, 2009 |
| Replies: 7 Views: 301 Hm .. hard to say ..
The selection appears as soon as your treeView get the focus. You can also play around TabIntex Property. If it's set to 0 (so your treView will be the first selected control... |
Forum: C# Oct 30th, 2009 |
| Replies: 12 Views: 390 Hello.
The troubles are starting here:
carry = 1;
You carry can be more than 1 .. so you should take the integer part of your holder:
carry = holder / 10; |
Forum: C# Oct 30th, 2009 |
| Replies: 7 Views: 301 Hello.
Interesting question ..
I couldn't find any property or method for this case, but here's some workaround. You can process the BeforeSelect event and cancel it if the selection made e.g. not... |
Forum: C# Oct 29th, 2009 |
| Replies: 4 Views: 305 Hello, Ryshad :)
Ok, let's go .. I'll give a few comments on your suggestions and then give you an example.
No, you shouldn't. Because the Bay class shouldn't be aware of what's happening outside... |
Forum: C# Oct 29th, 2009 |
| Replies: 1 Views: 264 Hello.
Let's investigate your code:
1. You declare an array (for some reason readonly). And say, that it would contain 1024 elements.
private readonly byte[] _buffer = new byte[1024];
NOTE:... |
Forum: C# Oct 27th, 2009 |
| Replies: 11 Views: 736 Well, the other way could be storing datatable/data in your main form. And pass them to other forms of your application at creation time. |
Forum: C# Oct 27th, 2009 |
| Replies: 11 Views: 736 Hello.
If I understood you correctly - this may be helpful for you: Implementing Singleton in C# (http://msdn.microsoft.com/en-us/library/ms998558.aspx) |
Forum: C# Oct 27th, 2009 |
| Replies: 5 Views: 254 Or if you really need to puch them into a single table:
maybe moove weeks in rows, like:
Product Name | Weeks | Dept. 1 | Dept. 2| ...... |
Forum: C# Oct 27th, 2009 |
| Replies: 2 Views: 191 Hello.
All you need is decide what objects to pass to that method and then - call it. E.g.:
comboBox1_SelectedIndexChanged(comboBox1, new EventArgs()); |
Forum: C# Oct 27th, 2009 |
| Replies: 5 Views: 254 Hello, Ryshad.
I hope that I understood you corretcly :)
What if take your 3rd dimension out of gridview? (see pic 1).
If you have to display a few orders, that are split between different... |
Forum: C# Oct 27th, 2009 |
| Replies: 3 Views: 313 Hello.
In your case you can handle those keys in KeyDown event. It would be something like this:
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
// if... |
Forum: C# Oct 7th, 2009 |
| Replies: 11 Views: 649 Hello.
Isn't this non-stop recursive call to the same function:
public string GetClientsList()
{
try
{
Thread.Sleep(1000);
}
... |
Forum: C# Sep 29th, 2009 |
| Replies: 4 Views: 401 You're welcome.
Good luck with your project :) |
Forum: C# Sep 29th, 2009 |
| Replies: 6 Views: 437 Hehe .. you're welcome.
Please, mark this thread as "solved" if you got the answer on your question :) |
Forum: C# Sep 29th, 2009 |
| Replies: 6 Views: 437 Hello, phantom8l.
This can be interesting for you: Manually painting a ToolStripSplitButton (http://www.eggheadcafe.com/conversation.aspx?messageid=32661879&threadid=32661879) |
Forum: C# Sep 29th, 2009 |
| Replies: 4 Views: 401 Hello, Darth Vader.
Just to make sure - is your code is a holistic part of code, which you execute or it's just necessary pieces to show to us...
I ask this because it's compiles and runs here... |
Forum: C# Sep 29th, 2009 |
| Replies: 4 Views: 726 |
Forum: C# Sep 29th, 2009 |
| Replies: 4 Views: 726 Hello, phoenix_dwarf.
While playing with your code found interesting thingy: it works fine on every tab .. except the 1st one. Anyway, while trying to explain such behaviour, found this:
... |
Forum: C# Sep 28th, 2009 |
| Replies: 11 Views: 1,443 Thanks, guys :)
Hehe .. Spiritually Optimized .. interesting thingy :P |
Forum: C# Sep 27th, 2009 |
| Replies: 11 Views: 1,443 You're welcome :)
Good luck with learning C#.
Please, mark this thread as solved if the issue is settled. |