Search Results

Showing results 1 to 40 of 249
Search took 0.02 seconds.
Search: Posts Made By: Antenka
Forum: C# 2 Days Ago
Replies: 12
Views: 251
Posted By Antenka
:) You're welcome and good luck with your studies!
Forum: C# 2 Days Ago
Replies: 8
Views: 142
Posted By Antenka
Hello.
Or use using directive inside of target namespace:

namespace RestaurantSoftClassLib.User
{
using RestaurantSoftClassLib.Karyawan;
class User
{
Karyawan karyawan; ...
Forum: C# 2 Days Ago
Replies: 8
Views: 142
Posted By Antenka
Hello.
That's weird .. works fine for me when I use this:

using RestaurantSoftClassLib.Karyawan;

and then

Karyawan karyawan;
Forum: C# 3 Days Ago
Replies: 5
Views: 171
Posted By Antenka
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# 3 Days Ago
Replies: 5
Views: 197
Posted By Antenka
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# 3 Days Ago
Replies: 1
Views: 128
Posted By Antenka
Hello, tobibabs.
Here (http://www.daniweb.com/forums/announcement61-2.html) is what you need.
Forum: C# 4 Days Ago
Replies: 5
Views: 197
Posted By Antenka
Ahem .. We only give homework help to those who show effort (http://www.daniweb.com/forums/announcement61-2.html)
Forum: C# 4 Days Ago
Replies: 5
Views: 171
Posted By Antenka
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# 4 Days Ago
Replies: 3
Views: 145
Posted By Antenka
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# 5 Days Ago
Replies: 4
Views: 112
Posted By Antenka
You're welcome .. please, mark this thread as solved if we're done with you problem :)
Forum: C# 5 Days Ago
Replies: 4
Views: 112
Posted By Antenka
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# 5 Days Ago
Replies: 12
Views: 251
Posted By Antenka
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# 5 Days Ago
Replies: 2
Views: 113
Posted By Antenka
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# 5 Days Ago
Replies: 3
C#
Views: 164
Posted By Antenka
Hello, just to make sure .. you have WinForms Project or Web-vased?
Forum: C# 5 Days Ago
Replies: 6
Views: 136
Posted By Antenka
:) you're welcome
Forum: C# 5 Days Ago
Replies: 6
Views: 136
Posted By Antenka
Sure.
Here's pretty interesting class for history handling (with example project): Navigational history (go back/forward) for WinForms controls...
Forum: C# 5 Days Ago
Replies: 12
Views: 251
Posted By Antenka
:) you're welcome. Good luck with your project!
Forum: C# 5 Days Ago
Replies: 6
Views: 136
Posted By Antenka
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# 5 Days Ago
Replies: 12
Views: 251
Posted By Antenka
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# 5 Days Ago
Replies: 7
Solved: Treeview node.
Views: 148
Posted By Antenka
You're welcome .. please, mark this thread as Solved if your question is settled :)
Forum: C# 5 Days Ago
Replies: 7
Solved: Treeview node.
Views: 148
Posted By Antenka
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# 5 Days Ago
Replies: 12
Views: 251
Posted By Antenka
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# 5 Days Ago
Replies: 7
Solved: Treeview node.
Views: 148
Posted By Antenka
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# 6 Days Ago
Replies: 4
Solved: OO Quandary
Views: 183
Posted By Antenka
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# 6 Days Ago
Replies: 1
Views: 137
Posted By Antenka
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# 8 Days Ago
Replies: 11
Views: 362
Posted By Antenka
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# 8 Days Ago
Replies: 11
Views: 362
Posted By Antenka
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# 8 Days Ago
Replies: 5
Views: 177
Posted By Antenka
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# 8 Days Ago
Replies: 2
Views: 149
Posted By Antenka
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# 8 Days Ago
Replies: 5
Views: 177
Posted By Antenka
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# 8 Days Ago
Replies: 3
Views: 194
Posted By Antenka
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# 28 Days Ago
Replies: 11
Views: 568
Posted By Antenka
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: 341
Posted By Antenka
You're welcome.
Good luck with your project :)
Forum: C# Sep 29th, 2009
Replies: 6
Views: 381
Posted By Antenka
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: 381
Posted By Antenka
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: 341
Posted By Antenka
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: 493
Posted By Antenka
Forum: C# Sep 29th, 2009
Replies: 4
Views: 493
Posted By Antenka
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
Solved: read file
Views: 988
Posted By Antenka
Thanks, guys :)
Hehe .. Spiritually Optimized .. interesting thingy :P
Forum: C# Sep 27th, 2009
Replies: 11
Solved: read file
Views: 988
Posted By Antenka
You're welcome :)
Good luck with learning C#.

Please, mark this thread as solved if the issue is settled.
Showing results 1 to 40 of 249

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC