Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do i.... Pin
Christian Graus3-Oct-07 19:21
protectorChristian Graus3-Oct-07 19:21 
Questionneed Hepl in File.Move(source, dest) method Pin
smmuneeb3-Oct-07 18:36
smmuneeb3-Oct-07 18:36 
Questionhelp me quickly Pin
nta_38863-Oct-07 17:47
nta_38863-Oct-07 17:47 
AnswerRe: help me quickly Pin
Christian Graus3-Oct-07 17:55
protectorChristian Graus3-Oct-07 17:55 
GeneralRe: help me quickly Pin
PIEBALDconsult3-Oct-07 17:57
mvePIEBALDconsult3-Oct-07 17:57 
GeneralRe: help me quickly Pin
Christian Graus3-Oct-07 19:21
protectorChristian Graus3-Oct-07 19:21 
GeneralRe: help me quickly Pin
karthick.n.mca3-Oct-07 23:18
karthick.n.mca3-Oct-07 23:18 
Question[WPF]: Tab Control and TabItem (focus?) woes.... Pin
Super Lloyd3-Oct-07 16:59
Super Lloyd3-Oct-07 16:59 
Here is a XAML snippet (which would run in XAML Pad as well):

<TabControl>
<TabItem Header="One">
<TabControl>
<TabItem Header="OK">
<Button Content="OK"/>
</TabItem>
<TabItem Header="Not OK">
<Button Content="Not OK"/>
</TabItem>
</TabControl>
</TabItem>
<TabItem Header="Two">
<TabControl>

<TabControl.Template>
<ControlTemplate TargetType="{x:Type TabControl}">
<Grid KeyboardNavigation.TabNavigation="Local" SnapsToDevicePixels="true" ClipToBounds="true">
<Grid.RowDefinitions>
<RowDefinition Name="RowDefinition0" Height="Auto" />
<RowDefinition Name="RowDefinition1" Height="*" />
</Grid.RowDefinitions>
<DockPanel>
<StackPanel DockPanel.Dock="Right" Orientation="Horizontal" Name="HeaderPanel" ZIndex="1" KeyboardNavigation.TabIndex="1" IsItemsHost="true" />
<Label Content="Something" />
</DockPanel>
<ContentPresenter Name="PART_SelectedContentHost" Grid.Column="0" Grid.Row="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" ContentSource="SelectedContent" />
</Grid>
</ControlTemplate>
</TabControl.Template>
<TabItem Header="Apple">
<Button Content="One Apple a day, keep the doctors away"/>
</TabItem>
<TabItem Header="Carrot">
<Button Content="One carrot a day, ho well, nothing special"/>
</TabItem>
</TabControl>
</TabItem>
</TabControl>

Where every time you select the TabItem "Two" (in the toplevel tab) the inner TabControl would change its selected item.
(every second time it will be "Apple" every other second time it will be "Carrot")

Why does the inner tab changes?
How to work around this bug?

Questionhelp I need to translate this code from C# to VC++ Pin
AntonioRamirezL3-Oct-07 16:30
AntonioRamirezL3-Oct-07 16:30 
JokeRe: help I need to translate this code from C# to VC++ Pin
PIEBALDconsult3-Oct-07 16:56
mvePIEBALDconsult3-Oct-07 16:56 
AnswerRe: help I need to translate this code from C# to VC++ Pin
Christian Graus3-Oct-07 17:08
protectorChristian Graus3-Oct-07 17:08 
GeneralRe: help I need to translate this code from C# to VC++ Pin
AntonioRamirezL4-Oct-07 5:56
AntonioRamirezL4-Oct-07 5:56 
GeneralRe: help I need to translate this code from C# to VC++ Pin
Dave Doknjas4-Oct-07 13:29
Dave Doknjas4-Oct-07 13:29 
QuestionHow do i.... Pin
C# Beginner Nick3-Oct-07 15:17
C# Beginner Nick3-Oct-07 15:17 
AnswerRe: How do i.... Pin
Matthew Cuba3-Oct-07 15:31
Matthew Cuba3-Oct-07 15:31 
GeneralRe: How do i.... [modified] Pin
C# Beginner Nick3-Oct-07 15:42
C# Beginner Nick3-Oct-07 15:42 
AnswerRe: How do i.... Pin
Anthony Mushrow4-Oct-07 3:24
professionalAnthony Mushrow4-Oct-07 3:24 
QuestionCan`t set Focus to my Form .... ? Pin
Yanshof3-Oct-07 14:44
Yanshof3-Oct-07 14:44 
GeneralRe: Can`t set Focus to my Form .... ? Pin
Guffa3-Oct-07 20:46
Guffa3-Oct-07 20:46 
GeneralRe: Can`t set Focus to my Form .... ? Pin
Yanshof4-Oct-07 5:30
Yanshof4-Oct-07 5:30 
AnswerRe: Can`t set Focus to my Form .... ? Pin
faith4ever4u8-Oct-09 8:20
faith4ever4u8-Oct-09 8:20 
GeneralRe: Can`t set Focus to my Form .... ? Pin
Dave Kreskowiak9-Oct-09 12:23
mveDave Kreskowiak9-Oct-09 12:23 
Questionget files from directory Pin
hamid_m3-Oct-07 13:14
hamid_m3-Oct-07 13:14 
AnswerRe: get files from directory Pin
ChrisKo3-Oct-07 13:46
ChrisKo3-Oct-07 13:46 
GeneralRe: get files from directory Pin
Luc Pattyn3-Oct-07 15:40
sitebuilderLuc Pattyn3-Oct-07 15:40 

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.