Looks like you hide button1 and show button2. Try to keep button1 and button2 separate instead of keeping one on top of the other.
When you click button1 once, disable button1 and enable button2 and panel2.
button1 is on panel1 and button2 is on panel 2...
panel1 is above panel2 and panel2 is hidden..
on click event of button1 what i do is hide panel1 and show panel2...
on single click of button1 it works properly but when we click it twice it complete it task and as panel2 replace panel1's position and come above it. its control (button2) get focus and its event get fire...
I develop some application using the SAP Crystal Report for vs. 2010 v 13.0.4, running good.! But when the report first loads a little slow even crush.! I've search on google, and get the keywords "NGen" and "JITted", anyway there is the master of all enlightenment and how the ore faster performance for applications, like VB 6 times before and Crystal reports v 8.5 etc. are loading faster.! Thanks B4
I was download nVLC from codeproject in that, I refer all Declaration, Implementation, LibVlcWrapper I am getting error "Failed to load VLC modules. Make sure libvlc.dll, libvlccore.dll and plugins directory located in the executable path " in nVLC. Please tell what is wrong in my code.
Method AddRange takes IEnumerable collection it makes perfect sense since we want to add second collection to our first list. http://msdn.microsoft.com/en-us/library/z883w3dc%28v=vs.80%29.aspx[^]
But when you want to remove some items from collection that are in second collection (scenarion 2 grids with items and one bucket of possibilities for them, and cannot have shared items, available grid and items selected by user grid), there is RemoveRange method, right? No this method takes 2 ints http://msdn.microsoft.com/en-US/library/y33yd2b5%28v=vs.80%29.aspx[^]. Odd.
RemoveAll? This for instance takes predicate for items. http://msdn.microsoft.com/en-US/library/wdka673a%28v=vs.80%29.aspx[^]So why this is called RemoveAll? Since it's takes predicate as Where takes why this is not called RemoveWhere? From RemoveAll I would expect behavior like Clear method, but we don't need another one like that.
Method Remove takes item and removes it from collection. So why there is not method that takes range? How many times you have to remove items by range of indexes from collection (RemoveRange)? It would have to be ordered list to make it usable at some point since when you get index and number of items to remove you have to order and iterate it and since you do that why not just remove those items already? So in the end I using AddRange and extension method RemoveRange that iterates and calls Remove on second collection. Am I allone on that?
Yes/no. With a large framework, there's bound to be some inconsistencies.
Yes, it would help if we could deduce the name of the method we want to call, based on fixed patterns. No, I don't see it happening.
As for the range, I'd expect two ints, as the indexes are a good way to define a range. That's a bit harder to do with an IEnumerable.
RemoveWhere(thisconditionistrue) or RemoveAll(thisconditionistrue); yes, your version sounds better, but it'll be hard to convince MS to change it. Especially after it's being used already in a lot of sourcecode.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
Last Visit: 31-Dec-99 18:00 Last Update: 1-Aug-21 11:39