|
you then need to show how the combo's are generated and populated.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
I create it in visual studio (from toolbox) and even empty comboboxes with default settings, no code, just draged and droped has the same behaviour.
|
|
|
|
|
..which is tucked away in a method called "InitializeComponent". That method is called when the form is created. Hiding the form and showing it won't execute the method again. Yes, that may cause weird stuff.
I'd recommend showdialog a form and disposing it when done, preferably wrapped in a using -construct.
--edit
foxed fixed typo.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
Yeah exaclty. But when form is open in panel i can only click on blue site (http://postimg.org/image/lalx7hu9x/[^]) to write and cant edit text like in my movie. when i open the same form as new form i can click on blue and red site to start typing. In your solution is the same problem and its very annoying. Btw thank you for your help and involvement
|
|
|
|
|
Sorry stupid mistake, for this to work you have to change the border style of the form with the comboboxes to none.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Woow! Thank you so much I dont understand why it happens with borders but it works correctly. Again thank you so much
|
|
|
|
|
I added some code:
private void cbProducent_MouseClick(object sender, MouseEventArgs e)
{
if(cbProducent.Text == "")
{
cbProducent.Focus();
}
}
still cant click to writte in middle of text but it solves problem with blue and red sites ;D
|
|
|
|
|
Don't use Forms inside any other ContainerControl. Use UserControls, or Panels. Forms are "expensive" UI-components, and they do not play well used inside other Forms/Controls.
«Tell me and I forget. Teach me and I remember. Involve me and I learn.» Benjamin Franklin
|
|
|
|
|
Tanks for your reply The program that im actually writting is pretty small and its too late to make changes. But im sure I will consider your solution in my future applications
|
|
|
|
|
Member 11822364 wrote: The program that im actually writting is pretty small and its too late to make changes. Nonsense.
«Tell me and I forget. Teach me and I remember. Involve me and I learn.» Benjamin Franklin
|
|
|
|
|
hi,
I need to explain a video about design algorithm
id3 ,please how can help me??
|
|
|
|
|
We can't.
We have no idea what your video is showing (and to be honest I have no desire to see it) - so how could we possibly help you explain it?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
There algorithm in C # called id3 I need to explain how it works and this algorithm
؟
|
|
|
|
|
Well then, YOU better get to studying how it works otherwise YOU are not going to be able to explain it.
Nobody here can hit you with a magic wand to implant the knowledge in your head. This is where YOU start studying whatever you can find on it and start making your own diagrams. Searching the net for somoe premade video that may not even exist is just wasting your time.
|
|
|
|
|
Oh. It's your homework.
I see now - you want us to point you at a video you can fast forward through, writing down random words in the hope it might get you a passing grade?
It won't. You need to understand it.
Start here: https://en.wikipedia.org/wiki/ID3_algorithm[^]
But don't just copy it: your tutor will notice. You need to learn, understand and describe it in your own words...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
dear respectabls i m developing a project in which i need to retrieve data on click event from same row where dynamic picture is located...
keep in mind at every click event there may b different number of dynamic pictures, each have different detail in d.b/ plzzzz ans me as well as soon..
|
|
|
|
|
Do not post the same question in multiple places: you already have this in QA, and have for nearly an hour, so leave it there. Posting the same thing in multiple places duplicates work, and that wastes our time and annoys people.
And read my comments on your question there - you have just posted the same text here and hoped we would magically divine what you need.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Member 12082707 wrote: dear respectabls I'm neither
Member 12082707 wrote: i need to retrieve data on click event from same row where dynamic picture is
located... So, you hook up the click event of the control you generated.
Member 12082707 wrote: keep in mind at every click event there may b different number of dynamic
pictures, each have different detail in d.b Also keep in mind that the db might move, or get renamed; that info has to be updated easily without the need of a recompile. I'm sorry, but this is not even an assignment; it is a rough outline of a users' wishes. It is also not a complicated request, so I'm wondering what your question is.
Member 12082707 wrote: ans me as well as soon Each person pays the same as the rest here, and each question is equally important.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hello guys , how are you? i hope everything's fine
I'm coding a small program and i don't want the final user to install anything on his computer
-for database i'm using SQLite instead of SQL-Server
-i won't deploy the project i'll only send the files in debug folder.
the problem is with Crystal Report files , is there anyway to open them without downloading the full crystal report engine?
like a 2mb software or a small tool..
i will appreciate your suggestions and answers , thank you.
|
|
|
|
|
Member 11579490 wrote: i won't deploy the project i'll only send the files in debug folder. Not correct, you should deploy from the Release folder. If you do not install the crystal Reports libraries then how will you get the reports created?
|
|
|
|
|
thanks for your reply , i actually decided to make reports in word , almost every windows user have word installed
|
|
|
|
|
And what will happen if they do not? You should never create an application that assumes your users will have some software package installed.
|
|
|
|
|
--->0-9
10-19
--->20-29
30-39
--->40-49
50-59
--->60-69
70-79
Lets assume we got a series of numbers like this. It's basically 0 to N, segmented by a limit size 10.
On the code, I just want to filter out the set that goes like 0-9,20-29,40-49.. etc.Please note I've ignored 10-19,30-39,50-59, 70-79 etc.
Switch case is not affordable. A simple math based generic condition check should do. I'm getting back to code after a long time, I'm left with a bad blush I couldnt figure this out soon. Mod (%) function could be of any help?
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
modified 12-Dec-15 9:53am.
|
|
|
|
|
Vunic wrote: I just want to filter out the set that goes like 0-10,20-29,40-49
Are you sure?
Don't you want
0-9,20-29,40-49 To be consistent?
If you do, then it's relatively trivial: a divide by 10, and a check if the result is even via the lowest remaining bit will do it, won't it?
Or am I missing something?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|