Click here to Skip to main content
15,895,781 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: We had an earthquake Pin
ZurdoDev9-Sep-20 5:01
professionalZurdoDev9-Sep-20 5:01 
GeneralRe: We had an earthquake Pin
Dan Neely9-Sep-20 5:04
Dan Neely9-Sep-20 5:04 
GeneralRe: We had an earthquake Pin
dandy729-Sep-20 5:42
dandy729-Sep-20 5:42 
GeneralRe: We had an earthquake Pin
Dan Neely9-Sep-20 5:51
Dan Neely9-Sep-20 5:51 
GeneralRe: We had an earthquake Pin
Daniel Pfeffer9-Sep-20 5:41
professionalDaniel Pfeffer9-Sep-20 5:41 
GeneralRe: We had an earthquake Pin
Herman<T>.Instance9-Sep-20 6:22
Herman<T>.Instance9-Sep-20 6:22 
GeneralRe: We had an earthquake Pin
Daniel Pfeffer9-Sep-20 8:36
professionalDaniel Pfeffer9-Sep-20 8:36 
Generaluse of VB Powerpack Shapes discovered to be a form of Novichok poisoning Pin
BillWoodruff9-Sep-20 3:06
professionalBillWoodruff9-Sep-20 3:06 
I set on my merry way ... eluding, I thought, the KGB agents following me ...

Thought I'd see if the old Line, Ellipse, Rectangle VBPPk controls could still be used in the latest VS and C#: so I kissed the GitHub stone, and added the references to a WinForm project.

Damndumbed if I could get a Click, or MouseDown, EventHandler to fire at run-time from a Shape.

So, I just rolled my own UserControl, and set its region to a circle: damndumbed if I could get a Click, or MouseDown. to fire at run-time. Well, I remembered some previous problems reported with Mouse Events in a UserControl: I added a Label to the UserControl: damndumbed if I could get a Click, or MouseDown, to fire at run-time.

Okay, so I defined a Component inheriting from Button, and did the region voodoo: damndumbed if I could get a Click, or MouseDown, to fire at run-time.

Now, beginning to feel the disorienting effects of what the KGB put in my vegan smoothie at the airport ... but, unable to remember which airport ...

I put a plain old Button on the Form: damndumbed if I could get a Click, or MouseDown, to fire at run-time.

So, I tried contacting the Microsoft Poison Control Center, but, they said they couldn't understand my Russian ...

In desperation, I removed the VBPPk references, and all code related to them: damndumbed if I could get a Click, or MouseDown, to fire at run-time from a plain old button, or label.

Opened an old project, and confirmed Button, Label, MouseEvents worked as expected.

I grabbed one of the three blind mice dancing on the top of my head, and ate it.

Suddenly, everything changed: now, several hours later, I feel restored to my normal psychotic state.

Knowing I can blame VBPPk, instead of the KGB, is a big relief.

p.s. this may be hallucinatory ... but, on a 4k 15.6 inch laptop screen set below 4k resolution, drag-dropping one of the VB Shapes onto a Form actually shifts the screen resolution in a way it is impossible to precisely position the Shape: you click back on the Form, and where the Shape was changes as the screen snaps back to your standard resolution.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

GeneralCCC Nine/Nine/Twenty Pin
super8-Sep-20 22:54
professionalsuper8-Sep-20 22:54 
GeneralRe: CCC Nine/Nine/Twenty Pin
OriginalGriff8-Sep-20 22:57
mveOriginalGriff8-Sep-20 22:57 
GeneralRe: CCC Nine/Nine/Twenty winner Pin
super9-Sep-20 0:08
professionalsuper9-Sep-20 0:08 
GeneralRe: CCC Nine/Nine/Twenty winner Pin
OriginalGriff9-Sep-20 0:23
mveOriginalGriff9-Sep-20 0:23 
GeneralWhy isn't C# more popular? PinPopular
Patrick Skelton8-Sep-20 20:44
Patrick Skelton8-Sep-20 20:44 
GeneralRe: Why isn't C# more popular? PinPopular
Daniel Pfeffer8-Sep-20 20:54
professionalDaniel Pfeffer8-Sep-20 20:54 
GeneralRe: Why isn't C# more popular? Pin
Patrick Skelton8-Sep-20 21:52
Patrick Skelton8-Sep-20 21:52 
GeneralRe: Why isn't C# more popular? Pin
CodeWraith8-Sep-20 22:55
CodeWraith8-Sep-20 22:55 
GeneralRe: Why isn't C# more popular? Pin
BillWoodruff9-Sep-20 1:20
professionalBillWoodruff9-Sep-20 1:20 
GeneralRe: Why isn't C# more popular? Pin
CodeWraith9-Sep-20 6:00
CodeWraith9-Sep-20 6:00 
GeneralRe: Why isn't C# more popular? Pin
Daniel Pfeffer9-Sep-20 1:43
professionalDaniel Pfeffer9-Sep-20 1:43 
GeneralRe: Why isn't C# more popular? Pin
W Balboos, GHB9-Sep-20 2:20
W Balboos, GHB9-Sep-20 2:20 
GeneralRe: Why isn't C# more popular? Pin
Rick York9-Sep-20 6:09
mveRick York9-Sep-20 6:09 
GeneralRe: Why isn't C# more popular? Pin
W Balboos, GHB9-Sep-20 6:50
W Balboos, GHB9-Sep-20 6:50 
GeneralRe: Why isn't C# more popular? Pin
tcruse10-Sep-20 1:57
professionaltcruse10-Sep-20 1:57 
GeneralRe: Why isn't C# more popular? Pin
Rick York10-Sep-20 21:23
mveRick York10-Sep-20 21:23 
GeneralRe: Why isn't C# more popular? Pin
obermd10-Sep-20 6:09
obermd10-Sep-20 6:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.