Skip to content
  • Simple Paint app in winforms

    C# csharp winforms
    5
    0 Votes
    5 Posts
    0 Views
    L
    Since there was no question, one wonders why you posted in the first place. [Simple Paint Application in C#](https://www.codeproject.com/Tips/811495/Simple-Paint-Application-in-Csharp) "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
  • Decisions, decisions ...

    The Lounge help database winforms com graphics
    11
    0 Votes
    11 Posts
    0 Views
    G
    Welcome to my current life. Over the last several years my group has gone from 17 people in three departments to 5 in a single department. We're still supporting everything. I spend more than half my time debugging and fixing other people's crap, and many of the problems are like the one you describe. People who took shortcuts, made stupid assumptions, or were just :elephant:ing sloppy. I spent close to a year debugging a problem in some embedded software that was caused by the original author not re-initializing some control values on an Ethernet error. It was the kind of excreta that doesn't happen in a robust, conscientious design. OriginalGriff wrote: hunt down the moron who thought "RIFF and JPG are the same thing really" and exterminate him with extreme prejudice The worst offender was a guy who spent over 20 years working on a single product, and had written it so that he was the only person who could maintain it. He passed away a couple years ago. It's mighty tempting to drink a potful of coffee and go express my opinion on his grave. Software Zen: delete this;
  • c++ forms 2022 code

    Managed C++/CLI question csharp c++ winforms
    2
    0 Votes
    2 Posts
    5 Views
    L
    Try calling dataGridView1->Refresh() after you add the data.
  • 0 Votes
    19 Posts
    0 Views
    L
    They were there for "design" ideas. You were asking for "best ways to code" (i.e. "patterns"). (I personally have never written a lick of VB.NET). But I see you get the idea: find a mouse trap (sample app) and build a better one. "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
  • 0 Votes
    2 Posts
    0 Views
    R
    You've posted this in the wrong forum. Your question has absolutely nothing to do with writing a CodeProject article. And quite frankly, from the description of what you're trying to do, I suspect nobody will want to help you. We all get plenty of spam already, without helping someone else set up a spam farm. And even if you somehow manage to get it working, Google will hopefully detect the malicious activity and suspend your 150 GMail accounts. "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • Split Personality User Controls.

    The Lounge question csharp wpf winforms
    30
    0 Votes
    30 Posts
    0 Views
    B
    I missed the joke. Thank You for clarification. As to rotation I of course have no idea as it is not my control. However in my next project I am looking forward to considering animated controls even perhaps 3D. - Best
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Winforms resizing based on screen size

    The Lounge csharp winforms tools json
    4
    0 Votes
    4 Posts
    0 Views
    S
    thanks for your great input. :rose: I saved your link for my use. diligent hands rule....
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Visual Studio 2022 Dark Image In Panel

    C# csharp html visual-studio winforms com
    2
    0 Votes
    2 Posts
    0 Views
    L
    Does it happen on other PC's? .png; what happens if you use .bmp? Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
  • 0 Votes
    3 Posts
    0 Views
    L
    Binding? You mean not showing progress on loading, just a non responsive UI? :D Is that a thing? :wtf: Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
  • 0 Votes
    2 Posts
    0 Views
    L
    A confusing summary, thanks to the state of .NET naming.
  • 0 Votes
    2 Posts
    0 Views
    N
    I would say it does smell like spam for me too, not only the messages. The profile picture rings a bell too. M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • Binding

    Windows Development csharp wpf winforms wcf
    9
    0 Votes
    9 Posts
    17 Views
    S
    >> add a column for it, but don't use the PK. That will require creating another table to handle the numbering for your application plus coding to handle the incremented value in that column, well, simply, I don't bind the PK, I handle it manually.
  • Re-purposing hardware

    The Lounge csharp winforms hardware help question
    5
    0 Votes
    5 Posts
    0 Views
    D
    I've never really had any formal electronics training, so a few decades ago, I was rather happy with myself having hooked up a discarded 2-line LCD display unit (the kind you used to find attached to cash registers) to a serial port, with no documentation whatsoever, and figuring out settings (parity, baud rate, data bits, etc) through trial and error, to make it display any string sent to it. I turned it into a simple clock showing full date and time. Definitely not much of a thing compared to what some people here manage to do, but it was enough for coworkers called me a nerd when they saw it. I wore that badge with pride...
  • 0 Votes
    2 Posts
    0 Views
    N
    Quote: What’s new in Windows Forms in .NET 6.0 Icons? M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • Huh.

    The Lounge csharp question dotnet winforms com
    3
    0 Votes
    3 Posts
    0 Views
    Sander RosselS
    One of two new controls: What's new in Windows Forms - Windows Forms .NET | Microsoft Docs[^] I remember reading about other new dialogs as well, but the only thing this page mentions is the enhanced folder browser and file dialogs, so maybe I remember wrong. Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • 0 Votes
    4 Posts
    0 Views
    L
    den2k88 wrote: If such things can be conceived there is still hope for VB7 The official name for VB7 is "C#". Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
  • 0 Votes
    4 Posts
    0 Views
    L
    You're welcome! It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
  • VB.net - WPF - Help with treeview

    WPF csharp wpf help winforms
    4
    0 Votes
    4 Posts
    0 Views
    R
    Your WPF code is using a ListBox, not a tree-view control. TreeView, data binding and multiple templates - The complete WPF tutorial[^] TreeView Overview - WPF .NET Framework | Microsoft Docs[^] How to: Create Simple or Complex TreeViews - WPF .NET Framework | Microsoft Docs[^] "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer