Software Development Network Logo
  • Visual Basic
  • Visual FoxPro
  • SQL Server
  • SharePoint Products
  • VS Team System
  • Smart Devicet
  • Microsoft ISV
  • Audio and Video
  • Visual C#
  • Windows Vista
  • Visual Studio
  • IE Development
  • Visual C++
  • Game Technologies
  • Windows Forms

Software Development Network >> Windows Forms

Windows Forms

New Question

datagridview
how to change background color when image selected in listview
MonthCalendar help.
Duplicating MS Access Continuous Subform Functionality in .Net
Exited event does not to be triggered
wat is the actual way to open & close window form?
Outlook navigation pane like functionality in a Winforms app
Setting default values in bound controls on a form
Overriding an 'invisible' property
WDS vs RIS Computername variable?

Top Answerers

GaryMcC
Isonduil
UniRyan
Lejing
Alex-MyRpg
mr4100
furjaw
JSantos196912
Jkumar
Hugo Cordeiro
sitemap
Only Title

Answer Questions

  • doank Documentation / detailed explanation for InitializeComponent

    Hi, I'm currently writing my diploma-thesis. I'm coding a C# project and use VisualStudio 2005. I need to describe the InitializeComponent-Method pretty precisely. Where does it come from What does it do and so on Of course I know all this, but I need some "real" reference like a book, article or the original MSDN-Documentation, simply something I can quote from Any suggestions, links or further info Thanks a lot and take care guys! JS P.S.: English or German language would be great InitializeComponent() is an implementation detail of the Window Forms designer and as such not documented. That makes it rather a good topic for a thesis. Here's a Google query that usually skips the auto-gener ...Show All

  • Jade Skaggs Help requested with printing images.....please

    I should point out that I am not a programmer, I dabble from time to time and consequently forget how to do anything in between each time.... Any ways here's the rub I have 6 images called PicImage1, PicImage2 etc etc they are being displayed in in two rows in picboxes on the form. A user might want to print some of the images (up to all 6 in one page) I have also created 6 checkboxes on the form chkprint1, chkprint2 etc. If a user decides they want to print image 1, 3 and 5 they will tick the relevant boxes then they will click on the Print button that I have also put on the form. (BtnPrint) It's the next bit I need help with... I want to see the images on the page (2 across, 3 down). The images are also to have overlayed on them the file ...Show All

  • Latso Problems with DataGridView passing scroll messages to panel when it doesn't need to

    I have a control built up from other controls that mimics the outlook 2007 message pane. It is a panel, that contains a collection of panels. Each panel in turn contains a group box with a button (+) and some text. When the user clicks the button, the panel expands to show a datagridview. In the initial version, the data grid view's height was fixed at 15 rows. If there were more than 15 rows of data, vertical scroll bars appeared for each grid. When we got the product to UAT testing, the consensus was that there should be one scroll bar for all the panels. No problem, I thought :-) Now the expanded size of the data grid is equal to the height of the number of rows, autoscroll is true on the container panel, and there is a scro ...Show All

  • shohaib Creating report without using crystal

    Hi all, I want to create report by using C#,net.I know the concept of creating crystal report,I want to create other than crystal report,can i create report.If it possible then tell the way to creating report.Plz help me...... Thanks, justin(Navyajeevan) Hi Mark, Thanks for your reply.I will try in PDF format after that I will message you. Thanks. justin(Navya) A lot will depend on what format you want your document to take, ie. pdf, html, txt. It is fairly easy to create a report that uses html (as you simply add the markup yourself) and text files can be generated by using textwriter. Can you give us more information Why dont you want to use crystal as its free with ...Show All

  • Dans. Including Child Forms

    I have created a main form (MainForm.h) and a form to be used as a search modal dialog box (FindForm.h) in the design editor. The problem is that I can either include FindForm in MainForm.h or include MainForm.h in FindForm.h, but not both. Example: -in MainForm.h #include FindForm.h //OK -in FindForm.h #include MainForm.h //Now members of FindForm cannot be found in MainForm Any help appreciated. I'm using C++ (because I'm most familiar with it). Bad idea Working with a single file could get pretty cluttered, couldn't it   Anyway, now that I am working with c++, is there any way to do this I have searched for a downloadable example in c++ with a modal dialog box, but I haven ...Show All

  • Knvb1123 How to properly validate an ADO.NET DataSet Object

    Hello all, I am writting a C# program that has some important code that relies on a correctly formatted DataSet object (DS), which is currently being populated by an XML document (call DS.ReadXML(filepath);). Because, ReadXML() is very abstract and powerful, I do not yet have a great understanding of how this XML data is formatted in the DS object, after calling this method. Now, I'm in the process of adding some exception handling to this program and I am wondering if anyone has any tips on what is the best way to perform this type of validation. For instance, I wouldn't want to run my code on an empty DataSet, a DataSet that has no Tables, a data set that has empty rows and columns in any of its tables.  ...Show All

  • chipso4 Enterprise deployment

    We are attempting to deploy a clickonce application to our enterprise environment.  The application loads just fine with an Admin account but is unable to load with a restricted users account.  When the .exe is xcopyed to the machine it is able to run, so it is just with the deployment piece. ERROR DETAILS  Following errors were detected during this operation.  * [12/8/2005 10:28:57 AM] System.UnauthorizedAccessException   - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))   - Source: System.Deployment   - Stack trace:    at System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 Flags, IntPtr hToken, Guid& riid)     ...Show All

  • jminond Toolbars Merging

    Inside my application, I have many plugin forms that I bring up inside the application, essentially many miniapps providing different functionality. Each have a shell frame which is just a class derived off Form providing common functionality. In the outside most application, there is just a menustrip, no toolbar, and all the miniapps are added as MDI children of the outtermost form. Inside each miniapp there is a toolstripcontainer, containing different toolbars associated with it. Essentially the structure as follows: ShellFrameWindow MainFrameWindow (has mdi children, no toolstrips) <- ShellFrameWindow MiniAppFrameWindow(is mdi child, has toolstrips) <- ShellFrameWindow The problem I have is that toolstrips from differ ...Show All

  • VaiTraFra sorting a sortedlist

    Hi All, I have a problem in my windows application with C#.net. I have around 50 Id and Name pairs and need to sort them after putting into a SortedList. In my data, ID is not unique. SortedList< object key, object value> So I can't put ID in place of Key( Key must be unique in sortedlist). I have created a class with Id and Name variables, passing the object in place of value, and some integer index in place of key. Now the Question is, how to sort the SortedList on ID. Please me help out, Thanks. One of the constructors of the SortedList take a IComparer as an argument. You can use this to sort the list. Keep in mind if the icomparer returns a 0 you will get an error about adding a ...Show All

  • Mongsreturn Multiple Objects using One Event Handler

    I am dynmically adding labels to a table container. I have an event that should change the <label>.ForeColor to red and one to change it back to standard Control colors. I am assigning the same two events to the different labels, but I cannot in the event tell which label fired the event. There is an unknown number of labels populating the table. The event is ..._MouseEnter and ..._MouseLeave. I will use this extensively if I can. How can an event tell you which component called it when multiple compnents are tied to the event. "sender" does not have anything to point to the component, except the text contained in the element. "e" does not provide even a mouse reference. lblPlayer[ i ].MouseLeave += new ...Show All

  • fscarpa58 datagridview question

    if I iterate through all the rows in a dgv, how can I tell what the status of the row is For intstance: foreach ( DataGridViewRow r in this .myDataGrid.Rows) { // if the row is being deleted, do one thing // if IsNewRow, do something else // if the row is being edited, do another thing } the process for determining a new row is easy, but I don't know how to get the info on edited or deleted rows. i am trying to determine which stored procedure to exec based on what the user has done to each row. I would think it could be done because the tableadapter.update method seems to now when to delete, insert, or update. any help is appreciated. ok.  something seems to be wron ...Show All

  • FernandoLeite Framework and Windows Installer not present

    I am deploying a project on a large number of user machines. On a W2K machine, when I tested the MSI, it of course, did not have the Framework or the correct version of Windows Installer. But I did get the expected error messages. So I am going to issue install instructions that state the order of install is to first install these two items, and then install the application. Do any of you do anything different it does work on XP, as for W2K it should also. what problems are you having Lacking resplies from anyone else, maybe I'm asking the wrong question. Sometimes there are bugs that everyone knows about, except me. Perhaps the right question is... Does this feature ...Show All

  • Hobbit666 events and delegates

    Hello, I'm trying to understand events and delegates. After reading many online tutorials on the subject, like this one here http://www.akadia.com/services/dotnet_delegates_and_events.html I'm a little bit confused. For example, in the default .NET Button, all you have to do to call an event is this: btn.Click += new EventHandler( BtnClick ); But in the tutorial mentioned above and many like it, you have to explicitly trigger them like this. customBtn.Click += new CustomBtnHandler( BtnClick ); // not deriving from .NET Button customBtn.TriggerEvents(); I don't get it. Hopefully, you guys can help me out. Thanks. In your first example: btn.Click += new EventHandler( BtnClick ); EventHandler is the na ...Show All

  • IgorP Implements ICloneable. form disappear .

    Public Class FormTemplate Inherits Form Implements ICloneable Private Sub BaseForm_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load End Sub Public Function Clone() As Object Implements System.ICloneable.Clone Return Me .MemberwiseClone End Function End Class Public Class MainMenu Inherits FormTemplate Public m_ChildFormNumber As Integer = 0 Public Forms As New List( Of String ) Public Sub New () InitializeComponent() End Sub Public Sub NewForm( Of t As FormTemplate)( ByRef i As t) Dim f As t f = i.Clone If Not Forms.Contains(f.GetTyp ...Show All

  • msdate adding multiple controls in DataGridViewColumn

    Hi All, Ive trying to create a custom datagridview where one customized column could contain checkBox, textBox, or even listboxes. I know I would have to override the dataGridViewCell class, but how to I add a control to the cell i.e. If i want to create a customized DataGridviewCell where the cells contain checkboxes My code below show display checkboxes, but it doesnt.... Any help would be appreciated, Thanks Here's the paint method in my class: public class DataGridViewCustoomizedCell : DataGridViewCell{ protected override void Paint( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, ...Show All

333435363738394041424344454647484950

©2008 Software Development Network

powered by phorum