winforms Questions

3

Solved

The titles says it all. I have a panel that acts as a white board. On mouse move draw the mouse track.. works fine, but if the mouse leaves the edges of the panel, i want to call the mouse up event...
Responsory asked 27/8, 2011 at 23:29

3

Solved

I have a Webview2 Control in my application, used to view PDF documents. The application also stores to and reads from MS SQL server PDFs data. Currently, I am retrieving binary data from SQL, conv...
Coulter asked 5/8, 2021 at 16:8

6

Solved

I asked this question previously and thought I had it figured out but it still doesn't work. Form.Show() moves form position slightly So I have a parent form that opens a bunch of children with sh...
Marybellemarybeth asked 12/8, 2009 at 17:40

3

Solved

I am setting the BackgroundImage of a Windows Form to a 200 x 200 image. The Form is 500 x 500. I want the image to be anchored in the bottom right corner of the form. However the only option avail...
Colston asked 14/9, 2010 at 9:21

5

Solved

I have a TableLayoutPanel and I want to add a control to the cell that I click on. The problem is that I can't determine the cell that I click on at run time. How do I determine the cell being cl...
Cosine asked 16/3, 2013 at 12:53

4

Solved

I'm having a datagridview with combobox column in it. This column is databound. I want to set the width of the dropdown list as per the largest item width in the list. For a normal combobox to achi...

18

I use C#. I have a Windows Form with an edit box and a Cancel button. The edit box has code in validating event. The code is executed every time the edit box loses focus. When I click on the Cancel...
Cynic asked 10/12, 2009 at 17:16

8

Solved

I have a DataGridView, which is not set to ReadOnly. None of its columns are set to ReadOnly, and the object it is bound to is not set to ReadOnly. Yet, I can't edit the DataGridView items? The .Da...
Impignorate asked 27/5, 2009 at 12:23

4

Solved

I am developing a winforms application using all those flat style options, and it makes the application look a lot like Win10 applications, so I was wondering if is it possible to detect if the OS ...
Kayo asked 9/6, 2020 at 12:15

7

Solved

I have not even an idea where to look to fix this error. Recently i get following exception after i've clicked the checkbox in a DataGridViewCheckBoxColumn to check it and leave that cell: Syste...
Jamiejamieson asked 5/11, 2014 at 15:34

4

Solved

Is there an easy way to set the zoom level for a windows form in C#? In VBA there was a zoom property of the form.
Decahedron asked 30/8, 2008 at 1:11

0

I have a Windows Forms app I've been developing and all of a sudden two errors show up in my Errors List tab that are strange. First, they don't prevent my app from compiling and running. Next, the...
Immaterialism asked 11/8 at 22:39

3

Solved

I am consuming a webservice using WSDL in windows application. When I try to use method, i get the following error:- The HTTP request is unauthorized with client authentication scheme 'Anonymou...
Algicide asked 10/6, 2013 at 20:11

10

Solved

I have a client that wants to use Google Chrome for an internal web app we've developed(I don't blame him, I really enjoy using chrome!) The problem is we have a win forms app that the users can l...
Janitajanith asked 2/2, 2009 at 7:50

9

I have one problem. I validate two texboxs. If texbox are not validate I show error message with error provider. Situation : tbAzetId.Text="string"; tbHeslo.Text=empty; errorprovider show error ...
Charmaincharmaine asked 4/10, 2010 at 20:32

10

Solved

I changed my Application's icon for a new one, by going to: "Project/MyProject Properties/Icon and Manifiest", and load the new icon. Now, in my debug folder the icon of my .exe file appear with th...
Colocynth asked 26/9, 2011 at 19:40

5

Solved

I am trying to add a pie chart to my winforms application - but the only chart I can find in my toolbox is the regular bar chart. Is there any way to form this bar chart as a pie chart or add a p...
Fanny asked 3/9, 2012 at 15:36

5

I have one form which opens another form. What I want to do is position the newly opened form right next (on the right side) to the already visible form. So I need to position the new form to whe...
Alialia asked 26/8, 2011 at 17:43

4

Solved

I have this piece of code in my routine but it doesnt seem to work: public MainForm() { InitializeComponent(); this.Text = "Elvis " + AssemblyVersion; } In my designer I had set the form title...
Geodesic asked 23/11, 2010 at 19:11

3

Solved

On a control I am using multiple attribute properties: [Browsable(false)] [Bindable(false)] [EditorBrowsable(EditorBrowsableState.Never)] [DesignerSerializationVisibility(DesignerSerializationVisi...
Punak asked 21/7, 2016 at 11:32

5

Any ideas how to stop the system bell from sounding when CTRL-A is used to select text in a Winforms application? Here's the problem. Create a Winforms project. Place a text box on the form and ad...
Kimsey asked 22/10, 2008 at 13:26

4

Solved

I am trying to add an "KeyPress" event in a textbox (WinForm) this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(CheckKeys); and here's inside the 'CheckKeys': private void...
Shilling asked 3/4, 2010 at 12:58

11

Solved

I have created an application in Visual Studio (C#) that makes use of a datagridview. Now, when I assign the DataSource of that datagridview, it automatically selects the first row, and executes my...
Milldam asked 19/9, 2012 at 12:29

3

Solved

I've a Windows Forms application, and it is deployed through ClickOnce. During launch of the application it checks for an update and prompts the user for the same. If the user choose not to install...
Daubery asked 24/2, 2011 at 14:33

11

I am saving all my Crystal Reports in one folder: VOUCHERS-->SALE-->BILLFORMATS For example: The location of the first report is: VOUCHERS-->SALE-->BILLFORMATS-->BillFormat1.rpt...
Navarino asked 16/6, 2011 at 5:48

© 2022 - 2024 — McMap. All rights reserved.