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

Software Development Network >> Windows Forms

Windows Forms

New Question

Monitoring arrow keys events
Displaying small Icon on top of a Control (in Design Mode)
.Net Licensing (urgent)
Property Grid Troubles
ClassRoom use of Terrarium
Many XP problems
Open hlp File from VB6 application
How to Determine my Eyesight Radius
windows forms flicker problem
Subforms v. MDI

Top Answerers

amc
qoo942
Jaifima
Klaus MeldGaard Keith
bertle
Matt Morehead
Phillip M. Hoff
Rup
gren
Nirvana
Game Tutorials
Only Title

Answer Questions

  • Sreenidbl How do i get the direction of the selection in a RichTextBox?

    Hi, I have a form with a RichTextBox which contains a text. The text contains some certain words like "%Word%" . When the user select some words from left to right and reach a certain word then the selection will be extended with the length of that word. I do this with increasing the SelectionLength-property of the RichTextBox. The problem happens in the following case: When the user select some words from right to left ...Show All

  • johnbrown105 List<T> to Binding<T>

    Hi, I have a business layer that return List<T> for example List<Customer>. How can I convert it to BindingList easiy. I know I can create a list an iterate through it and create a BindingList. Is there an easier way to do it I even tried implicit cast but it didnt work. Thanks. Just use the AddRange() method: List<Customer> list = new List<Customer>(); list.Add(customer1); list.Add(customer2); Bindin ...Show All

  • K. Maheswar Reddy Updating a ListView

    Is there an easy way to update the info in a ListView without having it redraw the entire line constantly For example, I have a ListView control that displays pertinant data about objects that constantly update themselves. I'm using the ListView to dynamically display these objects (and their data) but the constant flashing from the redraw really annoys me. I know you can set it to OwnerDraw, or something like that, but I'm a little fuzzy ...Show All

  • Vargaj ArgumentException in DrawString

    I have some code which worked fine in framework 1.1 but is giving me an ArgumentException in 2.0.  The code follows: using ( Font fntDraw = new Font ( "Arial" , 16, FontStyle .Regular)) {    Rectangle rcLayout = new Rectangle (0, 0, _cpixCell, _cpixCell);     StringFormat sfmt = new StringFormat ();    sfmt.Alignment = StringAlignment .Center;    sfmt.LineAlignment ...Show All

  • George W Bush Pass value from a WinForm to other WinForm

    Hi All, I have a problem how to pass value from one WinForm to other WinForm.  I have two WinForms, one WinForm is full of text box and one buttom, once user pass buttom, it will prompt an second WinForm which has a datagrid, user&nbs ...Show All

  • moleman Help -&gt; Check for Updates

    <rant>This isn't a feature request, or even a bug report, but I could think of no better place to put this rant. 1. Visual Studio was obviously built with the "intent" of providing updates, as per my topic subject.  Everytime I run&n ...Show All

  • colinjack Multilevel Hierarchial Datagrids

    I am trying to get some help on creating a Multilevel Hierarchial Datagrid.  What I mean is that the Hierarchial level is unknown.  There could be many related records or none.  Also there could be multiple categories.  Hopefully the data& ...Show All

  • VinnyD XP themes are not being applied to my Form controls.

    In my application there are many forms and derived forms.  All of the controls are set to Flatstyle.Sandard by default.  Now the XP theme isn't being applied to the controls.  I see them drawn as plain 3D boxes.  I tried changing some of the control style's to System, but that had no effect.  What could I have set in the application, possibly globally, that would keep the XP theme being applied   (my main window is ...Show All

  • Khento ClickOnce updating on a Windows Installer app

    Hey yall  I am wondering if it is possible to enable the "smart" updating features of ClickOnce on an application that would require at least an initial installation with Windows Installer Thanks MacKenzie I have been searching the net for post regarding using Windows Installer and "smart" updating. This is the closest post to the same problem I have. I main reason I have to use Windows Installer is because there are a ...Show All

  • kanguru DataGridView cell editing

    Hello, In Microsoft Excel last versions, when editing a cell, if you are entering a value which size is larger than the cell size, the cell pass over the others and becomes dynamically as large as the value in order to see all the value (for example if it's a huge string it allows to see it entirely). Does the DataGridView provides a feature like this Thank you :) Alex Bell The DataGridView doesn't d ...Show All

  • Chris Erickson Thread::Sleep question

    Hello, I've got a question about the Thread::Sleep command. I have a code which goes like so: private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e)          {              System::ComponentModel::ComponentResourceManager^  resources = gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid);  &nbs ...Show All

  • Chris Eytcheson Howto: Insert Default Blank Item to DataBounded ComboBox

    A very classic question for databinding of Combobox, but is there any easy way to do so in ADO.NET 2.0 Thanks, Q. How can I add a “null” or “DBNull” entry to my bound ComboBox When data bound, the Windows Forms ComboBox does not provide a general way to add a “null” or “not selected” value to its items list. The only generally supported way to do this is to add a “null” item to your data source list. ...Show All

  • Andrea_1 bind to indexer

    Hi, It's possible to bind to a indexer (ex: a["name"]) in VS 2005 beta2 (specially for datagridview) Hi, I have a class that contains a dictionary and I'm making the binding at run-time. I implementet a solution but is not very elegant (I contructed a wrapper class with properties like: column1, column2 ...). From what I saw datagridview use internal some PropertyDescriptor. One ideea is to create my cu ...Show All

  • Kgomong DataGridView Cell Formatting

    Hello, I developed a small win forms application in VS 2005 Beta 1 (which runs perfectly) and recently converted it to Beta 2 and I am seeing strange behavior with formatting of a dataGridView. I'm trying to find out if this is a bug or not. After programmatically adding a datatable to the datagridview I am calling a function to format different columns to be currency or have a red forecolor, etc. I also have a "refresh" button above the grid ...Show All

  • mayankjohri Datagridview and Endedit issue

    The Problem: When I close a form, the current cell that is being edited in the datagridview doesn't save properly to the database. The Save Code so far: this .Validate(); this .items_tblDataGridView.EndEdit(); // Doesn't appear to make a difference this .items_tblBindingSource.EndEdit(); this .items_tblTableAdapter.Update(mPSDataSet.Items_tbl); I've also tried using " this .items_tblBindingSource.CurrencyManager.E ...Show All

83848586878889909192939495969798990

©2008 Software Development Network

powered by phorum