|
hello..
i want to make the tab control aligned to the left..the problem is that when i do so via the Alignment property, the Text no longer appear visually on the tab pages!!!
does anyone know how to solve this..
note:this only happens if the Appearance is "normal".if it's "buttons" the problem doesn't occur..
|
|
|
|
|
this is the first time i use interface.
how can i create a class that handle different kinds of objects as dates, numbers, strings...?
|
|
|
|
|
What do you mean??? Implementing the IComparer interface?
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
|
Good, here is an example comparing 2 DateTime instances:
class DateTimeComparer : IComparer
{
public int Comparer(object d1, object d2)
{
if ((d1 is DateTime) && (d2 is DateTime))
{
return DateTime.Compare(d1, d2);
}
else
{
throw new ArgumentException("Object(s) not of type System.DateTime");
}
}
}
This is just an example, your comparison can go differently, especially in comparing objects that implements the IComparable interface.
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
Hi,all
how can i fill grdiview1 from another webform.
example:
in webform1 i give select command (let's say select * from mytable where id between 20 and 25)
in webform2 gridview should contain data based on query which i gave in webform1.
Regards.
|
|
|
|
|
Hello,
I do not want use default scrollbar of listview. I must activate 'scrollable' property (to manage scrolling event), but how to hide the default scrollbar to use my own scrollbar(2 button control).
Thanks,
Freg.
|
|
|
|
|
|
use a timer and in the timer's tick event just change
the label's location
Regards,
Pramod
|
|
|
|
|
is it possible rotate in rad a control so look it a little inclined?
|
|
|
|
|
The Label control doesn't support this. You'll have to make your own contorl to do this, probably inheriting from Label. You'll need to override the Paint method of the control and supply your own drawing code to rotate the label. You'll probably need to add a property to tell it how much to rotate too.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
No.
.NET doesn't support that.
But if the control is, say, a label, you can create your own control that can be displayed rotated.
I think there is some article on CP about this topic.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
ciao
potresti indicarmi il tutorial o qualche esempio in rete?
|
|
|
|
|
|
grazie (tnx)
hai msn? E sempre buono avere amici italiani programmatori
do you have msn? It is always good to have italian programmer friend
|
|
|
|
|
Yes: darisole
Are you Italian? Your profile says you are in the US.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
i'm unable to add your contact in msn becouse you havn't @your_email.com extension.
What is it?
I'm in italy right now
|
|
|
|
|
darisole@pietrosolera.com
Is the email extension mandatory? I didn't know that.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
how to show messagebox in asp.net using c#.
rahul
|
|
|
|
|
java script can do that...
<< >>
|
|
|
|
|
Response.Write("alert('Hello world');");
|
|
|
|
|
hi
I have downloaded a file from the codeproject and try to run it but it gives me the following error
BusinessObjects.exe' does not have an entry point defined
from Delegates and Events in C#
Can any one tell me why it happens? and how i can get rectified?
sasi
|
|
|
|
|
the easiest way to get the reponse is that you should ask the author...
I dont know what BusinessObjects.exe is
<< >>
|
|
|
|
|
How do i get floating panes into my C# forms, like the 'ToolBox', 'Properties', 'Solution Explorer' floating panes in the Visual Studio .NET IDE
|
|
|
|
|
I have been trying to acheive this, and I think the only way to do it would be to have a toolstrip container, and wire the events so that when it is pulled out, it loads a new strip which is made as a floating pane control
|
|
|
|