Click here to Skip to main content
15,900,108 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionBackground text in treeview? Pin
ErikZ14-Nov-07 23:25
ErikZ14-Nov-07 23:25 
AnswerRe: Background text in treeview? Pin
TJoe15-Nov-07 2:30
TJoe15-Nov-07 2:30 
GeneralRe: Background text in treeview? Pin
ErikZ15-Nov-07 2:36
ErikZ15-Nov-07 2:36 
Questionbatch file code to send 'net send' message Pin
vat2do14-Nov-07 20:22
vat2do14-Nov-07 20:22 
AnswerRe: batch file code to send 'net send' message Pin
Christian Graus14-Nov-07 20:44
protectorChristian Graus14-Nov-07 20:44 
Questionhow to get the service startup type from an external application Pin
Anandpatel2314-Nov-07 19:00
Anandpatel2314-Nov-07 19:00 
AnswerRe: how to get the service startup type from an external application Pin
TJoe15-Nov-07 2:26
TJoe15-Nov-07 2:26 
Question.NET3 - Docked Grid hijacks focus Pin
Montago14-Nov-07 0:11
Montago14-Nov-07 0:11 
i have a class that extends the window UIElement

class MyWindow : window{
..yada yada...
}

inside MyWindow, i use a DockPanel to Dock an instance of MyGrid:

class MyGrid : Grid{
.. yada yada ...
}

inside the grid i dynamically create a bunch of TextBox()'es that gets and sets some values of an object.

MyWindow has some overrides of KeyUp and KeyDown events that i manage, for instance i campture when CTRL-keys are pressed and other stuff

my problem is that if i change a value in one of the TextBox'es, then MyWindow looses Focus (i think) -- the KeyUp and Down events are nomore being captured Frown | :(


one thing which is important, is that i have a Blur() method on MyGrid that removes the TextBox'es and other stuff whenever an object is de-selected from MyWindow

MyGrid.Blur(){
ColumnDefinitions.Clear();
RowDefinitions.Clear();
Children.Clear();
}

this method causes the docked grid to disapear, but the keyboard is still writing to the last (now not existing) TextBox()


What to do ??? Sigh | :sigh:
Questionpassing value to one form to other form Pin
kiran@p2softech13-Nov-07 22:46
kiran@p2softech13-Nov-07 22:46 
AnswerRe: passing value to one form to other form Pin
Christian Graus13-Nov-07 23:33
protectorChristian Graus13-Nov-07 23:33 
AnswerRe: passing value to one form to other form Pin
Giorgi Dalakishvili14-Nov-07 0:47
mentorGiorgi Dalakishvili14-Nov-07 0:47 
Questionwindows forms datagridview Pin
kiran@p2softech13-Nov-07 18:51
kiran@p2softech13-Nov-07 18:51 
AnswerRe: windows forms datagridview Pin
Christian Graus13-Nov-07 19:02
protectorChristian Graus13-Nov-07 19:02 
GeneralRe: windows forms datagridview Pin
kiran@p2softech13-Nov-07 19:34
kiran@p2softech13-Nov-07 19:34 
GeneralRe: windows forms datagridview Pin
kiran@p2softech13-Nov-07 19:45
kiran@p2softech13-Nov-07 19:45 
GeneralRe: windows forms datagridview Pin
Christian Graus13-Nov-07 19:55
protectorChristian Graus13-Nov-07 19:55 
QuestionFill text fields on web page Pin
mcnewsxp13-Nov-07 4:07
mcnewsxp13-Nov-07 4:07 
QuestionHow to join server program to my windows form? Pin
maglev_tgv12-Nov-07 19:21
maglev_tgv12-Nov-07 19:21 
AnswerRe: How to join server program to my windows form? Pin
Rajasekharan Vengalil12-Nov-07 19:53
Rajasekharan Vengalil12-Nov-07 19:53 
QuestionHow to mount any file? Pin
bhaskar jatav12-Nov-07 17:38
bhaskar jatav12-Nov-07 17:38 
AnswerRe: How to mount any file? Pin
Christian Graus12-Nov-07 20:03
protectorChristian Graus12-Nov-07 20:03 
QuestionHelp!!!!!! TableAdapter Or BindingSource ? Pin
saltcode12-Nov-07 9:23
professionalsaltcode12-Nov-07 9:23 
QuestionDocking a window Pin
erarocks11-Nov-07 21:12
erarocks11-Nov-07 21:12 
AnswerRe: Docking a window Pin
Rajasekharan Vengalil12-Nov-07 19:47
Rajasekharan Vengalil12-Nov-07 19:47 
GeneralRe: Docking a window Pin
LongRange.Shooter1-Feb-08 10:21
LongRange.Shooter1-Feb-08 10:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.