|
OK ok my friend sorry for u and for not replying to him
|
|
|
|
|
Google is your friend; be nice and visit him often...
There are a huge number of examples out there of round buttons, some good, some bad.
A quick google restricted to just this site found nearly 4000 examples: round button c# site:codeproject.com[^]
Try this: Custom Button Control with Gradient Colors and Extra Image (VB.NET)[^] It's VB, but you can just use the code in a DLL.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
how to disable combobox if another combobox is selected in c# windows form application
diviya murali
|
|
|
|
|
The simplistic answer would be to set the Enabled state of the ComboBox from the other ComboBox by handling the GotFocus and LostFocus events on that ComboBox .
|
|
|
|
|
You can write it in Select_Index_Change of First DropDown
EX:
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList2.Enabled = false;
}
|
|
|
|
|
That doesn't solve the OP's problem.
|
|
|
|
|
As Pete said, it does not help the OP with his problem. He wants to disable the combo box when it is selected, not when an item is selected...
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
Note the OP is intending to do this for c# windows form application and not for ASP.NET Applications.
|
|
|
|
|
you can use the Click event of the second combobox to enable/disable the first combobox
private void comboBox2_Click(object sender, EventArgs e)
{
comboBox1.Enabled = false;
}
http://freaksofdeveloper.blogspot.co.at/
|
|
|
|
|
Is this event fired if the user tabs into the combobox?
|
|
|
|
|
The simplistic answer would be to set the Enabled state of the ComboBox from the other ComboBox by handling the GotFocus and LostFocus events on that ComboBox.
|
|
|
|
|
|
It's a good answer. Take you long to come up with it?
|
|
|
|
|
By using Jquery u can do this in web
for windows u need handle in code
Thanks & Regards
Anant Shetty
|
|
|
|
|
A couple of points.
1. jQuery isn't magic. You still have to write code.
2. I know how to solve this problem.
3. You replied to the wrong person.
4. How does any of that answer help the poster answer his question?
|
|
|
|
|
Please avoid textspeak on this forum.
Do a favor to your keyboard (and to our eyes), use it entirely.
There are two kinds of people in the world: those who separate humankind in two distinct categories, and those who don't.
"I have two hobbies: breasts." DSK
|
|
|
|
|
Do you want to disable all comboboxes except current?
Tim Toady Bicarbonate
|
|
|
|
|
how to bind database with calendar control (user control) to sql
|
|
|
|
|
You haven't supplied enough information for us to be able to help.
What technology are you using? Is it WinForms? ASP.NET? WPF? Silverlight?
What database are you using?
What are you trying to bind? Is it a single event per day? Multiple events?
What calendar control?
|
|
|
|
|
now i developing a project in windows application c#, my project task is to create appointment scheduler for doctor, so that i need to create own control for appointment scheduler has to be display the appointments already fixed by the assistant and also assistant can fix the new appointment, for that i need to bind sql sever data to the appointment scheduler control, Multiple events, calender control is user control for appointment scheduler.
|
|
|
|
|
So have each day in the calendar host a ListBox showing the events - one per row. The first thing I would do, if I were you, is make sure that I've retrieved the events ordered based on their date. Obviously you would want to limit the number of rows you're retrieving from the database. The way to do this is to use the start and end dates of the appointments you are viewing to limit the data.
|
|
|
|
|
hi
I want to embed a 3d autocad to my project(windows form) and edit and change it's objects
pls help me
|
|
|
|
|
And you have my full permission.
Were you wanting anything else while you are here?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Where are you stuck?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
You should find pretty much everything you need here[^].
|
|
|
|