I'm a real dummy at UI building, so I'm wondering - what .NET winforms control would be best to use if aiming to display tweets in a list fashion that updates with like boxes which contain the text of the tweet and its metadata below it. Is there a specific winforms list function for this type of thing? Or do you recommend I look for/use...
Hello Everyone
To fullfill a requirement I have to show a tooltip manually for 30 seconds. According to msdn I just have to use the "Show" method.
toolTip.Show(QuestionHelpText, btnHelp, 30000);
But I only get the standard tooltip behavior, meaning that the message appears half a second after my click (only because the mouse pointer ...
Hello.
I have a winforms datagridview that seems to always have at least one row selected all the time. I'm not interested in being able to select the rows at all really, I just need the user to be able to select the checkbox in column 1.
Any ideas why there is always at least 1 row selected?
How can i prevent this?
Will it affect the ab...
I'm trying to create a transparent button in C# (.NET 3.5 SP1) to use in my WinForms application. I've tried everything to get the button to be transparent (it should show the gradient background underneath the button) but it's just not working.
Here is the code I'm using:
public class ImageButton : ButtonBase, IButtonControl
{
pub...
i need to be able to drag and drop my picturebox with an image in it around my winform in vb.net.
...
Hi,
This may seem like a dumb question. I have a textbox that can be used to add items to a checkedlistbox at runtime on a windows form. I'm using c#. It works perfectly fine at runtime. The item gets added and stuff, when the form is open. But, when I close and open the form again, I don't see the added item in the checkedlistbox list. ...
Hi all,
How can I change the BACKGROUND color of the MDI FORM in C#?
I changed it using the background color property but the color is not changed.
What should I do to perform this task?
Please help me out!!
Thanks in advance!!
...
Calling TextRenderer.MeasureText as follows:
TextRenderer.MeasureText(myControl.Text, myControl.Font);
and comparing the result to the size of the control to check if text fits. The results are sometimes incorrect. Have observed the following two issues:
Often when a Label is set to AutoSize, TextRenderer will report a width that is...
When printing a report, the user sometime have the following error:
CrystalDecisions.CrystalReports.Engine.LogOnException:
Error in File C:\DOCUME~1\carolec\LOCALS~1\Temp\temp_b117cc2e-c184-4556-a493-e04e6d4126fb {388C2B55-114E-4087-A22D-9289902AFDEB}.rpt:
Unable to connect: incorrect log on parameters. ---> System.Runtime.InteropSe...
Can WinForms and XAML not benefit from the same logic as CSS?
It occured to me this morning, as i was browsing some of my unanswered questions on Stackoverflow:
If you're not using FlowLayoutPanel or a TableLayoutPanel, to layout controls on your WinForm, you'll be accused of not doing it right.
This is in contrast with the (religi...
How to change the first record to be displayed when a Windows Form opens?
I've got a form that retreives data from a table Table1 within a DataSet Dataset1 and fills a Details control with the data. When the form is executed, the first record from table1 shows up in the text fields. How do I change the code so that it displays the recor...
Where can I find a control for WinForms that will highlight source code pasted into it? I would like one that has syntax highlighting support for many different languages but if it only works with C# I would be fine with that also.
...
I'm writing a .net win app that loads foreign assemblies and executes third party scripts. I am looking for a way to sanitize the code executed by the foreign script, and only allow the third party scripts access to a defined set of websites. Creating a PermissionSet with its state set to none, and then adding the desired websites, and s...
Problem: I have a WinForms control ('MyControl') with a dependency on myCli.dll, a dll written in C++ CLI. This component is third party (written by another team). myCli.dll has a dependency on myLibrary.dll which is written by yet another party. The control lives in myAssembly.dll, which is a C# controls and resources library.
I had...
I want to add a component to the toolbox so that I can drag and drop it onto my windows form. I know I can add items to the toolbox by right-clicking and going to "Choose items", but what if I only have the source code for the component? How do I add it?
...
I'm using a ListView control in a C# WinForms application. Items in the list are added to a ListViewGroup (in this case, grouping by country). The one thing that isn't working as expected is that the column sorting appears to be strange.
I've hooked into the ListViewItemSorter property of the ListView and everything sorts perfectly exce...
I have to enable all the text in a winforms application to be replaced; it is an old application and is in “maintenance”. The application was written in .NET v1.1 and later bits of it in .NET v2 therefore it does not use any layout controls.
The problem I have is that I need to make the UI cope when a string is longer then the default...
Hello,
i am using currently the following code to populate a combobox:
combobox.DataSource = datatable;
combobox.DisplayMember = "Auftragsnummer";
combobox.ValueMember = "ID";
Is there a way to display multiple columns. I tried "Auftragsnummer, Kunde, Beschreibung" for DisplayMember but it did not work.
Thanks,
Dawit
...
Hi I would like to get all the properties used in System.Web.UI.WebControls.Table which is simple but the catch is that it needs to be done in a windows form application. My actual question is how can I create an instance of System.Web.UI.WebControls.Table in a form
...
I have a simple sequence of web pages written in ASP.Net 3.5 SP1.
Page1 - A Logon Form.... txtUsername, txtPassword and cmdLogon
Page2 - A Menu (created using DevExpress ASP.Net controls)
Page3 - The page redirected to by the server in the event that the user picks the right menu option in Page2
I would like to create a threaded pr...