Skip to content
  • Should this be its own class?

    Design and Architecture css winforms question
    5
    0 Votes
    5 Posts
    0 Views
    R
    You can be a successful marketer when you follow given tips like Establish Organization Goal, marketing Strategy, Time Alerts, Filter Method, Audience Requirement and more. RetrievInfo providing all information about business marketing. It is a treasure of knowledge. Visit on: https://retrievinfo.com
  • 0 Votes
    2 Posts
    0 Views
    R
    When did WinForms get a version number, and when are they going to update WPF? ".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
  • 0 Votes
    3 Posts
    0 Views
    OriginalGriffO
    Depends on the control, but the most likely is that you are using a DataGridView. In which case try the DataGridView.CellBeginEdit Event (System.Windows.Forms) | Microsoft Docs[^] "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
  • 0 Votes
    14 Posts
    0 Views
    W
    #realJSOP wrote: if that's what you really want to do. I personally think a detailed and properly crafted error message would be better, but hey, that's just me. The problem is: Who is going to write that carefully crafted error message ? The brain-trust that make up the typical employee cadre where I work, and probably most anyplace that that isn't full of techies, can hardly frame a valid question if it's not a text message in both quality and utility. Or, as I should have put it: the dumb asses don't know how to do anything and, working from home, no one is around to hold their hand to get them through it. So - of course - what you think should be done would really be great. If only there were someone on the other end who can handle it. Note: Screen-capture part finally worked out to my satisfaction. SMTP mail is next. Ravings en masse^ "The difference between genius and stupidity is that genius has its limits." - Albert Einstein "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
  • 0 Votes
    3 Posts
    0 Views
    G
    Thank you Richard. This helps me to solve my issue. Regards, Gopi.
  • 0 Votes
    4 Posts
    0 Views
    M
    I used to use the StatusStrip all the time, back in the day. Latest Articles: Thread Safe Quantized Temporal Frame Ring Buffer
  • 0 Votes
    5 Posts
    0 Views
    D
    honey the codewitch wrote: Velcro is a good example. First time I saw Velcro I was hooked! If you can't laugh at yourself - ask me and I will do it for you.
  • 0 Votes
    3 Posts
    0 Views
    M
    It's nice to see WinForms getting some feature love again, though.
  • Speaking of more mugs below...

    The Lounge csharp javascript cloud winforms
    13
    0 Votes
    13 Posts
    0 Views
    H
    Sure. Don't get me wrong, I really enjoy my work. But when I wrote code for work I write code less fluidly, and to a more rigorous standard, and imposing that standard on myself is work. Real programmers use butterflies
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Microsoft talking about ClickOnce

    The Lounge csharp wpf winforms com question
    16
    0 Votes
    16 Posts
    0 Views
    C
    Sorry for the late answer, the mail sorter task sent the reply directly to the "read later" queue and the read task only started now. That task is really lazy, that queue now contains 1K+ entries :) Anyways, continuing the thread.. We leave ClickOnce pretty much alone and it just sorta keeps working... The clunky part is the management of deployed libraries, For example ... [searching memory...no entries found]. Ah, it all went away. Seems it's not only the good memories that go away with age. Thankfully I've not had to manage it in a long time. If I notice something strange I just poke the unfortunate low level hem, mail the unfortunate responsible for it about the problem.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    9 Posts
    0 Views
    B
    I think you can focus this discussion more by adding to your original post specific details: for example, you create a new WinForm project, size the main form to 800x600, set the StartPosition to 'CenterScreen. Drop Labels in each corner of the Form: then, run the project, and describe what you observe. You might also put this code in the main form Load event: Rectangle r1 = Screen.PrimaryScreen.Bounds; Rectangle r2 = this.Bounds; Rectangle r3 = this.ClientRectangle; Rectangle r4 = this.DisplayRectangle; Console.WriteLine($"screen {r1}\nform bounds {r2}\nform displayrect {r3}\nform clientrect {r2}"); And, try varying the AutoScaleMode ... the goal being to identify the visually unexpected more clearly. Hope it helps ! «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
  • Winforms Inherited form - Resources

    C# csharp winforms regex oop question
    12
    0 Votes
    12 Posts
    0 Views
    M
    I think that is the likely cause since the base form is in a different assembly. It would make sense that VS is trying to make sure the image is still available to the child forms in a different assembly by copying the resource into the resx file. I'll try moving the base form into the same assembly to see if it resolves the issue. Thanks.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    26 Posts
    0 Views
    Richard Andrew x64R
    Happy to help! :) The difficult we do right away... ...the impossible takes slightly longer.
  • Azure Active Directory question

    C# question csharp asp-net winforms design
    10
    0 Votes
    10 Posts
    0 Views
    pkfoxP
    Thanks Richard that's pretty much what I've ended up with - brilliant article in the link you posted "We can't stop here - this is bat country" - Hunter S Thompson - RIP
  • 0 Votes
    17 Posts
    0 Views
    H
    � Forogar � wrote: When I was about 10 years old, through until about 16, I made models. Airfix aircraft kits and Tamiya tanks. It was fun! I was a weird kid. I didn't talk coherently until i was 5, but i was reading at 3, and making little circuits at 6. Computers (at 8) gave me the instant gratification I loved. At my core, I like building things - and taking them apart. Software gives me that. But I recently ordered an Arduino and a starter kit for it so I could revisit that childhood hobby. I might be able to make something useful my father in law has in mind for his pumphouse too. :) When I was a teen, I was kind of bike punk and I built lots of frankenstein machines on two wheels including a 10 speed BMX which was one of the coolest bikes around - like a tiny mountain bike before mountain bikes were popular. A few years ago hubby and I mounted a 2-stroke gas engine on mountain bike, and we used it as a grocery getter. It's growing weeds around it in the side yard now but i've been thinking about getting it road ready again. It was pretty fun. You sounds like we have the similar passion and love of your different pursuits - reminds me of me where we have to be engaging with our hobbies or we're just not living. Real programmers use butterflies
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    22 Posts
    0 Views
    S
    Yeah, completely different scenario - I was dealing with potentially hundreds of thousands of COM objects that needed to be created from Java, so couldn't go with a single C memory reference. Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p