Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

RichTextBox window action if possible in vb.net

I have been trying to figure out how to code this off and on for a couple of years but I'm nor really sure it can be done.Here is what I am looking for:Using a RichtextBox(required for coloring) as...

View Article


Can I use Windows.Networking.Connectivity Namespace in Desktop Win Form app?

Windows.Networking.Connectivity Namespace seems only support for Windows Store App and Windows Mobile Phone App, can it be use by a Desttop Win Form App?

View Article


How do i access the click event of button on custom user control?

hi friends, I have create a customer user control (standard c# custom user control) and add three buttons to it, button1, button2 button3. then I have added this custom control to a win form.What I...

View Article

Setting Progressbar values/call from external class file

Using this example on this site: Forums/en-US/csharpgeneral/thread/487f32f5-e016-49c5-8efb-3c51d0d15361Thank you to the Original creator of the example. I used this example for my project to show a...

View Article

DateTime Picker from WPFToolkit.Extended

has anyone tested out with the DateTime Picker from WPF Extended?(a) There is a Up (Increment) and Down (Decrement) arrow.Whenever, I click either the Up or Down arrow a second time, it will give the...

View Article


Getting the cell location based on the mouse click of tablelayoutpanel in c#

I have written the following code from one of your questions to get the location of the cell and after getting that location I want to add the user control which I have made.        private void...

View Article

Hard Drives Keeps Disappearing Windows 8.1

I just recently upgraded to Win 8.1. I have 3 hdds. Win is installed on Samsung SSD. The other hdds is for software and for games. The gaming hard drive keeps disappearing. I have to restart the...

View Article

Text is not Displaying

HaiI am trying to fill one textbox with some concatenated  string fetched from  database on leave of another textbox and this is using in many forms.So i want to make it common function. I wrote  a...

View Article


Runas with different user with password also in Batch File

Hi,I need to run one application with different user credentials.I am using Runas command in batch.When running the task it's prompting for password.Here i want to run the application without any...

View Article


datarepeater edit a certain row

how do i update a textbox in a datarepeater on runtime,I have a datarepeater with a button Update when user clicks the button another form open to update .. the update was successfuly done but when i...

View Article

how to fucking add control z in a fucking simple textbox

fuck please answer

View Article

HOW TO UNDO WORDS IN A TEXTBOX

why cant windows answer this simple question''how to undo words in a text box''  meaning if i inputfirst word = hellosecond word = hello2third word = hellfourth word = he2when i hit control z function...

View Article

Why don't any click events work on my Windows Form all of a sudden

I was developing my app.  Made a few changes that I can't fully remember but nothing that would make all the button clicks and form click dead(at least that's what I think).  While debugging, I placed...

View Article


Normal class vs Abstract class

Hi I have a question, When should we use abstract class,Normal methods with virtual methods also provide similar functionality, Only difference is we cannot instantiate abstract class.What are...

View Article

MDI Application ...........

Form activeForm = this.ActiveMdiChild as Form; string title = activeForm.Text; MessageBox.Show(title); when i'm use this code the following is displayed "Object reference not set to an instance of an...

View Article


how to disable the child form controls where child form is in parent tabpage...

dear sir/madam,I have 2 forms parent and child....how to disable the child form controls where child form is in parent forms tabpage in c#

View Article

Hide/Show MDI Child forms when Ribbon Tab is changed

I am using a Ribbon Control on a MDI Parent Form in my desktop application.  I would like to perform a ribbonTab1_ActiveChanged event that hides specific MDI Child formsonly if they are open and shows...

View Article


TableLayoutPanel not resizing

HI Folks,I'm trying to understand form/control resizing behaviour but have run into an anomaly. I have an MDI test app that contains one MDI Child. This MDI Child (call it Child1) contains a...

View Article

Windows form taking a long time to initialize

Has anyone seen this behavior? Windows forms initialize quickly when debugging but once installed they take much longer. For example, one of my forms takes about 1 second while debugging but about 25...

View Article

Left shift key does not detect

private void Form1_KeyDown(object sender, KeyEventArgs e) { this.KeyPreview = true; if (e.KeyCode == Keys.LShiftKey) { MessageBox.Show("left shift"); } }I want to detect which shift key has been...

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>