Questions tagged [winforms]

WinForms, also known as Windows Forms, is a popular GUI class library within the realms of both Microsoft .NET Framework and Mono. To ensure accurate categorization, any queries related to WinForms should be additionally labeled with the corresponding target framework ([.net] or [mono]) and ideally accompanied by a programming language tag.

Is there a way to successfully press a button on a website?

While testing, I start by navigating in the constructor webBrowser1.ScriptErrorsSuppressed = true; webBrowser1.Navigate("http://www.tapuz.co.il/forums/forumpage/393"); webBrowser1.DocumentCompleted += webBrowser1_DocumentCompleted; Next, in the DocumentC ...

Retrieve the class name from a CSS stylesheet

How can I extract all the CSS class names from a CSS file? This is what my CSS file looks like: p.juicy{ margin-left:40px; } p.csBody{ text-align:justify; } p.csCode{ font-family:"Lucida Console", Monaco, monospace; background-color:sil ...

What steps should I follow to incorporate a customized class into my Windows Forms 2.0 project?

Exploration I encountered an issue while trying to incorporate a customized class into my project for the purpose of deserializing and manipulating JSON data stored in a text file. Here's the code snippet that represents the class: Imports Newtonsoft.Json ...

Launching a NodeJS application through a C# web form application

I have developed a MeteorJS application that I am looking to run as a NodeJS application from within C# code. Here is a Windows Form application serving as a control panel for initiating and terminating the NodeJS application https://i.stack.imgur.com/2R ...

Is it possible to load a webpage in a WebBrowser control without displaying certain HTML elements by their IDs

Is there a way to load a specific page using the WebBrowser control without displaying unwanted advertisement banners in the 'tb' DIV element? I've searched online and came across an example that uses the mshtml reference, but I can't seem to get it to wo ...

Is it possible to trigger a winform function from an HTML page?

Looking for assistance with my WinForm application that includes a C# WebBrowser control. The WebBrowser control loads an HTML page which features a button. I am seeking a way to trigger a function in the WinForm (such as Form1.cs) when this button is cl ...

Is there a way to specify the starting row for reading using OpenXml?

I'm attempting to extract and convert data from a specific row in a sheet into JSON format. Here is the approach I have taken: int startRowNum = 6; //the starting row for reading the data int rowNum = 1; // starting from the f ...