I have a .NET 3.5 Winforms project. This project has a main form with a toolbar on it with a toolbar button in it. And a simple normal button dropped directly on to the form.  When the main form starts up a smaller sub form is loaded up too in the load event of the main form with the .Show method (so it is not modal which is important).  The focus is on this subform.  When I hover with the mouse over the toolbar button in the main form it responds to the mousehover event but when i click the toolbar button the main form first receives focus, so I have to click again. Only then the click event is fired. When I however do this to the normal button it immediatly responds to the click wether the sub form has focus or not.  So my question is why does this happen? And how can I prevent it so my endusers do not need to click the toolbar button twice?
I have a .NET 2.0 WinForms application with a ToolStrip on my main form. Sometimes, the ToolStrip icons don't respond to the first mouse click, so I have to click the icon twice. It's just a standard ToolStrip with several icons and tooltip texts, I don't do anything special. Is this common?
I have association bonus on superuser.com. After that I've started a bounty worst of 50 rep and earned more than 10 rep. Now I have 89 rep (38 of which is earned at superuser which is more than 10) but still not able to answer protected questions.  So, currently new user with 10 rep can answer protected question and I with 89 (38) rep can't.   How does it work now: after registration on new Stack Exchange site you get 101 rep Association Bonus and are able to answer protected questions only when you have 111+ rep on that site. How should it work: after registration on new stackexchange site you get 101 rep Association Bonus and are able to answer protected questions only when you have earned 10+ rep on that site. Someone is offering to pay me in a sort of sugar daddy/sugar baby arrangement. They want to make online deposits to me, and they're asking me for my online banking username and password. Is that information alone enough for them to be able to take my money out of my account, or am I safe? Calculating the force required to lift a weight with a screw Is my solution correct for solving $\cos(z)=2$, $z\in \mathbb{C}$ Zero-dimensional ideals and finite-dimensional algebras I encountered in the literature the term zero-dimensional ideal, however I can not find a relevant definition anywhere in Atiyah-MacDonald or Matsumura. In fact, I encounted the statement:      $I$ is a zero-dimensional ideal of $k[x_1,\dots,x_n]$ $\Leftrightarrow$ $k[x_1,\dots,x_n]/I$ is a finite-dimensional $k$-vector space, where we assume that $k$ is algebraically closed.   Question 1: What is the definition of the dimension of an ideal?  Question 2: How do we prove the above statement?  Question 3: Is $k$ being algebraically closed a necessary condition for the statement to be true? Proving that if $A$ is a $8\times 8$ matrix over $\mathbb{R}$ and $A^3=A$, then $A$ is diagonalizable. If $A$ is a $8\times 8$ matrix over $\mathbb{R}$ and $A^3=A$ then prove that $A$ is diagonalizable.   I have got that the minimal polynomial of $A$ may be $x^3-x$ or $x$ or $x(x+1)$ or $x(x-1)$ in the 2nd case it is not possible in the 3rd and 4th cases the matrix will be the identity matrix or identity matrix multiplied by a scalar!  But I cannot reach any further. Xcode free space requirement I am trying to update Xcode to 8.0. My OS is 10.11.6 El Capitan. However I am getting:     We could not complete your update   There is not enough disk space available to install the product.   I have got 14.22 GB free space. How much do I need?  UPDATE: I do not know the exact figure, though I did manage to update with 17.21 GB free space later on. Rich Wizards, Poor Muggles Does iCloud Two-factor authentication send a code to the same device as a log in request? My Apple-ID (e.g., on  ) is set up to require entry of a 6-digit code sent to my registered Apple products.  This code is being sent to the same device I'm currently requesting to log in. I feel this absolutely defeats the purpose of this 2-Factor Authentication: If a person knows my password, this person can receive the code on that device, and access my apple account without any problems.  Is this a bug or can I set up / change how this security step works? Locking a vehicle bicycle rack We are planning a trip with a bike rack attached to our trailer hitch. What is the best way to lock the bikes while the vehicle is unattended? I see some racks have locks on the knobs but they don't seem very strong.   What do you suggest? Negative energy levels in the diagram for a hydrogen atom The higher the number of the shell (n), the higher is the energy level of the electron. However, why was it necessary to have negative values. So for example, when $n=1$, the energy could be $5 eV$ and for $n=2$, $6 eV$... having positive values could also have supported the idea that as $n$ increases, energy of electron increases. What is the point of having negative numbers, does it somehow aid calculations? Quotient groups of D10 How do I find the groups D10/N where N is the normal subgroups to D10?  I know that the definition is aN for all a $\in$ D10. But I am unsure what the group, for example, D10/ D10 looks like? Any help would be much appreciated. Join table depending on value of column in main table Suppose the gcd (a,b) = 1 and c divides a + b. Prove that gcd (a,c) = 1 = gcd (b,c) I am lost.   So far...  If $\gcd (a,b) = 1$, by Bezout's Formula  $ax + by = 1$  If $c|(a+b)$, then $cf = a+b$  Then,  $a (x-y) + cfy = 1$   $b(yx) + cfx = 1$  Am I on the right track? Any suggestions? I am using a "spinner" NSProgressIndicator in my cocoa app:     I would like to display it in a different color so that it will show up well on a dark background:     How would I go about doing this? My last resort would be to write my own custom NSView subclass that renders a custom animation, but I'm not even sure where to start on that front. Any help is appreciated. How to restore the down arrow icon on the Downloads folder in the home directory? I removed the original Downloads folder in the home directory and created a new one with the same name, but the down arrow icon on the new Download folder now disappeared. Could someone please tell me how to restore that icon?   In addition, from the image above we see "Downloads" disappears also in "Places" category in the left panel. I think it should be there originally. If after restoring the down arrow icon, the "Downloads" is still not in "Places" category, I would also like to ask you to help me put "Downloads" back to "Places". Thank you.  PS: I am not using any theme. Prevent Windows 10 installer from using the preinstalled serial key without disabling UEFI My laptop (a Lenovo Flex 2 15) came preinstalled with Windows 8 Standard (with the serial key preinstalled into the BIOS), and I've since installed an SSD (a Samsung Evo 840 120GB) &amp; upgraded to Windows 10.  When the laptop still had its hard drive, I upgraded it to Professional so I could use the resources provided by the domain on my homeserver; because of this, I can only use the Professional editions of Windows (Home can't join domains).  I bought Windows 10 Professional &amp; completed a fresh-install (complete reinstallation) of Windows, only that it installed Windows 10 Home instead of Professional. I'm guessing this is due to the Windows 8 Standard Edition serial key preinstalled in the BIOS.  I then downloaded an All-In-One ISO image of Windows 10 from MSDN (of which I have limited access to), transferred the installer onto a USB stick, &amp; reinstalled (a clean install again). However it's still installing Windows 10 Home.  If I try to install using the AIO image from within Windows, the installer does not present me with a list of options for the edition I want to install; instead, it assumes that I want to install Home Edition:    I am able to get Windows 10 Professional to install if I disable UEFI &amp; use Legacy instead, but I feel that this is stepping around the issue rather than resolving it.  Is it possible to have the Windows 10 installer ignore any serial keys preinstalled in the BIOS/UEFI? If so, how? If not, is using Legacy mode really the only way around this? Give a one-to-one and onto function from $\mathbb{N} \times \mathbb{N}$ to $\mathbb{N}$ How to perform hard / cold reboot of iPhone or iPad? I understand that when I press and release the power button on the top of my iPhone or iPad, it stays on but turns off the screen.  Whereas if I press and hold the power button, a "slide to turn off" control appears on the screen.  Sliding this, as I was told, does turn the unit off, but it does so by suspending the RAM to disk (flash memory, actually.) So, when turning on the iPhone or iPad, it isn't so much rebooting the OS as it is resuming it from flash storage.  How to force the OS to completely reboot on these devices? Installing Ubuntu on a single partition I’m trying to install Ubuntu 16.04 alongside with Windows 7. My HDD supports only 4 partitions. Three of the partitions are taken up by windows. The fourth one is labelled as free space.   Now, how do I make root, swap and home partitions? Should I format my free space as primary with EXT4 first (if so, what should be the mount point?) and then create logical partitions for root/Home/swap? How do I go about this?  Edit: I tried to use the automatic installation option for dual boot. However I got the error ubi partman exit code 141. Probably because it tried to create two separate partitions for root and swap.   $ sudo parted -l Model: ATA ST1000DM003-1CH1 (scsi) Disk /dev/sda: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Disk Flags:   Number  Start   End    Size   Type     File system  Flags  1      1049kB  106MB  105MB  primary  ntfs         boot  2      106MB   277GB  277GB  primary  ntfs  3      277GB   903GB  627GB  primary  ntfs