Software Development Network Logo
  • Visual J#
  • Windows Live
  • Architecture
  • SQL Server
  • Windows Forms
  • Game Technologies
  • Windows Vista
  • Visual C++
  • Visual C#
  • VS Express Editions
  • Visual Basic
  • Visual Studio
  • Smart Device
  • Microsoft ISV
  • .NET Development

Software Development Network >> Windows Forms

Windows Forms

New Question

whidbey: creating a fading form, similar to the MsOutlook "mail received" form
Edit text during design-time
VS .NET2003 Sluggishness
LOGIN ERROR
Sending mail with VB.Net
Building projects not running
VB.NET vs AS/400
Message Box extension
DataGridView not showing values for first added row
Interaction between Anchor and Dockstyle on TabPages - Autoscroll doesn't work

Top Answerers

DenMori
Jason Maronge
mauricioe
wolf777
Paulo Henrique Campos
BDaul
ralfg
shiv.s
pbergamo
ShaaaM
apfloat
Only Title

Answer Questions

  • gOMERpYLE AL Autoscroll

    When I use AutoScroll, scrollbars never show up if the controls are outside of the container to the left or top of it, only to the right or bottom. How do I fix this Funny, this is just the behaviour that I would expect, but you are right: ScrollableControl could indeed correct for negative values and move its children accordingly. Why don't you just do the math yourself 1. Find the top-left child control in ...Show All

  • Bob Vera RichTextBox: text back color

    Hi All, I'm developping a C# project and I have a problem with the RichTextBox... I don't find how to change the text back color.. (like this: Example ) Can you help me Thank you :) Dear Mister, Try   SelectionBackColor = Color . Yellow Or you can select some piece of text and do the same. Regars, Marconi Junior Thank you for your answer Marconi. I already seen this code with ritechTextBox ...Show All

  • bobmarley165735 BindingSource.item not a valid property?

    I am trying to set an item in my binding source. The class documentation tells me that BindingSource has an item property that i can get or set. However, the intellisense can't find the property. Even if i force it in, i get a compiler error. The workaround i am doing right now is: DataRowView row; row = ( DataRowView ) this .accountsBindingSource.Current; row[ "AccountName" ] = this .accountnameTextBox.Text; I don' ...Show All

  • DialogDude Question on deployment

    I have a question, I'm trying to deploy an application, and when I create the package using VS.net wizard everything is fine, I tried it in my computer and works like a charm, I tried it in a friends computer which has also VS.net ins ...Show All

  • pawel.krakowiak Owner-drawn TabControl...

    Hi, Coders I have very strange problem! I am deriving my own class, inherited from TabControl. I need to make my own painting, so I wrote that: SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.DoubleBuffer, true); Then proccessing the OnPaint ...Show All

  • Leneise44 Method '<method>' cannot handle Event '<event>' because...

    I am getting the following error where ntfHelpDesk is a NotifyIcon. <color="firebrick">Method 'ntfHelpDesk_DoubleClick' cannot handle Event 'DoubleClick' because they do not have the same signature.</color> Any help is appreciated. That is a great poi ...Show All

  • Darian Miller What's the equivalent of OnItemDataBound?

    Hi, I am coming from Web Applications (ASP.NET) background. What's the equivalent event of DataGrid.OnItemDataBound when developing using System.Windows.Forms.DataGrid Thanks. I'm not sure there is -- the entire data binding model is different. What exactly are&n ...Show All

  • Davey Gepp Delegate and ShowDialog

    Why dialog is not modal How I can make it modal (I have to use delegate, otherwise my calling application is blocked.) public delegate void OpenDialogDelegate(); public class MainForm : System.Windows.Forms.Form { private System.ComponentModel.IContainer components = null; private System.Windows.Forms.Button btnShow; private OpenDialogDelegate sDel; public MainForm() { InitializeComponent(); sDel = new OpenDialogDelegate ...Show All

  • the_thug RootComponentDesigner Add component

    Hi,     I noticed when you add an SqlDataAdapter from the toolbox to a component design surface it calls the wizard.     I can't reproduce this using code. I'm using the following in a Designer:     Note the Configure wizard is only called when my code explicitelly launches the designer verb, but in this way the SqlAdapter's commands don't get assigned unique names (ie they are named sqlSelectCommand ...Show All

  • Steeves Saillant VERY odd bug when writing to app.config

    I've got a very strange bug happening which I was finally able to distill down to a problem with writing to ..\..\app.config after a file open dialog.  It appears that if a file open standard dialog is closed with the "open" button&nb ...Show All

  • X-Evolutionist main form losing responsiveness

    Howdy all. I'm building an app and this is essentially how it works. I've got a winform. On the left is a tree control. On the right I've got a panel, which I call ControlHoster. What I do is change the content of the panel's control& ...Show All

  • Sam Thakkar WYSIWYG HTML Editor Control

    There are tons of browserbased WYSIWYG HTML Editor controls. But, i'm building a windows based Content Managment System, and need a HTML Editor for Windows.  Anyone know of a control i could use, or a way to export to HTML  Is there classess&nb ...Show All

  • Janthegroat Only Allow 2 decimal places in a textbox.

    I have a textbox which contains interest rate. (e.g. 89.56, 100.00 etc) How do I disallow user type in more than 2 decimal places. (user cannot type in 89.5678 or 80.876876967896) Thanks! private void textBox1_Validating(object sender, CancelEventArgs e) { try { Double val = Double.Parse((sender as TextBox).Text); (sender as TextBox).Text = val.ToString("N2"); } catch {     errorProvider1 ...Show All

  • Peter Teoh MultiLine TextBox

    Hi,         Can anybody help me how to set the text of a multiline textbox with a string that has line feeds.         When i write the code as below, TextBox myText ; myText.multiline = true ; myText.Text = "option_one \n option_two" ;          I don't get the "option_one" and "option_two" displayed in two seperate lines in the Te ...Show All

  • MpDzik scrolling message

    Hi All, I have been tasked with adding a scrolling message at the bottom of an application.  Apparently, management wants to pass information to it's associates with this 'ticker tape'.  I think it's a distracting annoyance and hey, what ever happen ...Show All

545556575859606162636465666768697071

©2008 Software Development Network

powered by phorum