Answer Questions
amitbadgi Repeater for windows forms
Hi, im making a little repeater control for windows forms and i just want to check if there is any interest in such component my idea was that hierarchical grids are very poppulair , but in my oppinion its a bit boring to enter data in a& ...Show All
givemeabreak Change the color of the Cell of the Datagrid
Based on the value of the cell in column 3 I want to change the cell color of the column 0 Thanks This site might help quite a bit, I used the sample they provde to do exactly what you need. http://www.syncfusion.com/FAQ/WinForms/def ...Show All
Scott1978 Added unbound grid rows are blank
Added unbound grid rows are blank I have a master-child relationship. The master are unbound controls, and the two children are grids. The column names and types I created in the columncollection. When I save the master, values automatically go into the grid columns and saved. They appear in the grid and are updated correctly to the database. If I add another row, it's values appear in the second row. However, the first row ...Show All
Falconetti DataGridView Persisting Values to DataSet
I have a Master-Detail form that has a DataGridView control on it. My DataGridView has its DataSource set to the Master table and the DataMember set to the name of the Relation between the tables. How do I get access to the Detail DataTable to look at the data and insert a row I have tried calling EndCurrentEdit on that DataTable and it still shows 0 rows even though the DataGridView shows 1 row. Thanks in advance After some m ...Show All
Dotnet Junkie Form Resize incorrectly
I have a problem with Form Resize: Make a Form (autoscalemode DPI), place one button in the lower right part of the form(Autosize false - Anchoring None). When I then resize the form, either in design or run mode, the button does not keep its location. Not even if you consider it is the top left corner that should be in the same relative position. The button disapears out of the right corner when the form is made smaller. It looks as if the resi ...Show All
Juan Foegen Help with a generic RtlMoveMemory
I have been playing around with WinAPI stuff, and my recent endevor was to program a keyboard listener in a winForms app. When hooking up my keyboard proc shown below: public int MyKeyBoardProc( int nCode, int wParam, int lParam) { User32.KBDLLHOOKSTRUCT kbInfo =& ...Show All
imatureStudent How do you get the Form parenting the control?
Looking for a generic way of doing this, probably by just traversing the parent objects and inspecting the object type. What's the proper way of inspecting the parent to handle both System...Form and System...Form derived forms You can compare any form to System.Windows.Forms.Form, no matter how many times the form is derrived from another form. It still remains a System.Windows.Forms.Form Which ...Show All
Michael BBB DataGridView - junction table, CheckBoxes
In order to ask my question I think it'll be easiest to create a trivial example: I'd like to create a DataGridView to display the following info in a form for a specific book, which will be passed to that form by name (or bookId): Book Name: Test Book _________________________________________ |Library Name | Library Location | Is Book Present | -------------------------------------------------------- ...Show All
urnabc Is it possible to create a desktop icon using ClickOnce
I found only one article about creating desktop icons, but that article (MSDN) ruled out creating desktop icons. Is this possible with ClickOnce or not I know windows installer will, but we have a Smart Client and want to provide a way to create a shortcut to the app on the desktop so people could get to it quickly. Any suggestions Thanks How do you run this code at ClickOnce program sta ...Show All
Tockus Informix SE 7.* access from VB 2005 Pro
Our business applications have been written in a character based environment on a Unix HP 11.* O/S machine using Informix 4gl character based authoring tools. We are now desiring to move to a graphical environment using Visual Studio (VBasic) while still using our existing Unix Informix SE 7.* databases. This will allow us to continue to use our existing character based programs, while transitioning to a graphical environme ...Show All
polmau How can I return the method that is called when an event is raised ?
How can I return the method that is called when an event is raised System.Reflection.EventInfo.GetRaiseMethod does not work. most controls and components have an events property which is a EventHandlerList class. This in turn has an items property ...Show All
kvieceli MSHTML Hosting
Ok, this has been a pet rant of mine for a while so I'd like to take this opportunity to get it off my chest. When I first installed .net around the time of beta 1, I was of course expecting a Windows Forms control to displa ...Show All
Toan DockStyle.Fill problem
Hello, I am trying to add several datagrids to a tab control. Here is the code: for (short i=1; i<=Count; i++) { DataGrid dg = new DataGrid(); if (i == Count) dg.Dock = DockStyle.Fill; else dg.Dock = DockStyle.Top; tabGrid.Controls.Add(dg); } The problem is that the bottom datagrid that has the DockStyle of Fill expands all the way to the top of the tab panel. In other words, it goes und ...Show All
LordDark Hide the first Column
Is it possible to hide the first Column in a DataGrid Let me explain a few things first. The DataSource for the DataGrid is like so; DataSet DSAccountVenueRooms = new DataSet(); DSAccountVenueRooms = DataAccess.GetAccountVenueRooms(MainMenu.AccountID); this .dgAccountVenueRoom.DataSource = DSAccountVenueRooms.Tables[0]; The first Column in this DataGrid is a RoomID Value that I get to execute the next Stored Procedure to get the Data for t ...Show All
Aghaster Properly exit an application that doesnt wanna die
Been asking a lot of questions lately, but I guess thats what these forums are made for so here goes another one... In my application I have an exit button, and also use the same code for the Form_Close event, incase the user clicks the X instead of my "Exit" button. What do I do to properly exit. If I do "this.close()" it closes, but if I open the Task Manager, I see my application still running, just not visible. If I throw an Application.E ...Show All
