Click here to Skip to main content
15,892,809 members
Home / Discussions / WPF
   

WPF

 
QuestionCreate Radio Button!! Pin
Sr...Frank22-Dec-09 4:08
Sr...Frank22-Dec-09 4:08 
AnswerRe: Create Radio Button!! Pin
Mark Salsbery22-Dec-09 5:59
Mark Salsbery22-Dec-09 5:59 
GeneralRe: Create Radio Button!! Pin
Sr...Frank22-Dec-09 6:24
Sr...Frank22-Dec-09 6:24 
GeneralRe: Create Radio Button!! Pin
Mark Salsbery23-Dec-09 6:21
Mark Salsbery23-Dec-09 6:21 
QuestionListBox Multi Selection without holding Shift Key? Pin
Member 232448321-Dec-09 20:14
Member 232448321-Dec-09 20:14 
QuestionFlow Layout versus Fixed Layout Pin
Richard Andrew x6421-Dec-09 13:08
professionalRichard Andrew x6421-Dec-09 13:08 
AnswerRe: Flow Layout versus Fixed Layout Pin
Aviad P.21-Dec-09 20:05
Aviad P.21-Dec-09 20:05 
QuestionResources and Deployment - App does not run Pin
cutudi21-Dec-09 3:59
cutudi21-Dec-09 3:59 
Hi..
I created a WPF C# application.
I deployed it to an computer with the .Net 3.5 framework.
When I double-click on the EXE nothing happens.. ANd i have got this error:


EventType : clr20r3 P1 : firstc1.exe P2 : 1.0.0.0
P3 : 4b2f37b0 P4 : presentationframework P5 : 3.0.0.0 P6 : 488f142e
P7 : 6259 P8 : e1 P9 : system.windows.markup.xamlparse.
And i have defined in App.xaml thsi resource for my Main Windows:

<Application x:Class="FirstC1.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="Window1.xaml">
<Application.Resources>
<SolidColorBrush x:Key="base_color" Color="#FF007D5A" />
<SolidColorBrush x:Key="selection" Color="#FF00422F" />

<Style x:Key="chart_border" TargetType="{x:Type Border}">
<Setter Property="BorderBrush" Value="{StaticResource base_color}"/>
<Setter Property="CornerRadius" Value="5"/>
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="Margin" Value="2"/>
<Setter Property="Padding" Value="2"/>
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush Opacity="0.25" StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="Transparent" Offset="0"/>
<GradientStop Color="{Binding Source={StaticResource base_color},Path=Color}" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Style>

<!-- samples that can not be shown in XBAP -->
<Visibility x:Key="uiVisibilty">
Visible
</Visibility>
<Style TargetType="{x:Type TabItem}" x:Key="tree">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TabItem}">
<Grid>
<Border
Name="Border"
BorderBrush="Black"
Background="Gold"
BorderThickness="1,1,1,1"
CornerRadius="25,5,0,0">
<ContentPresenter x:Name="ContentSite"
VerticalAlignment="Center"
HorizontalAlignment="Center"
ContentSource="Header"
Margin="12,0,12,0" />

</Border>

</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter TargetName="Border" Property="Background" Value="White" />
</Trigger>
<Trigger Property="IsSelected" Value="False">
<Setter TargetName="Border" Property="Background" Value="LightGray" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<DataTemplate x:Key="FirstCell">
<StackPanel Orientation="Horizontal">
<CheckBox Name="chk1" IsChecked="{Binding Path=IsSelected,
RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListViewItem}}}"/>
</StackPanel>
</DataTemplate>
</Application.Resources>
</Application>

Thanks in advance.
AnswerRe: Resources and Deployment - App does not run Pin
Pete O'Hanlon21-Dec-09 4:13
mvePete O'Hanlon21-Dec-09 4:13 
GeneralRe: Resources and Deployment - App does not run Pin
cutudi21-Dec-09 4:19
cutudi21-Dec-09 4:19 
QuestionSystem.Net.HttpWebRequest missing members Pin
Siberz21-Dec-09 3:43
Siberz21-Dec-09 3:43 
AnswerRe: System.Net.HttpWebRequest missing members Pin
Mark Salsbery21-Dec-09 13:20
Mark Salsbery21-Dec-09 13:20 
QuestionTranslate transform in code Pin
AghaKhan21-Dec-09 1:52
AghaKhan21-Dec-09 1:52 
QuestionThrow Errors while run a wpf animated application Pin
damubooks21-Dec-09 1:46
damubooks21-Dec-09 1:46 
AnswerRe: Throw Errors while run a wpf animated application Pin
AghaKhan21-Dec-09 6:50
AghaKhan21-Dec-09 6:50 
QuestionUnable to start debugging. Pin
arun_pk21-Dec-09 0:07
arun_pk21-Dec-09 0:07 
AnswerRe: Unable to start debugging. Pin
Mark Salsbery21-Dec-09 13:22
Mark Salsbery21-Dec-09 13:22 
AnswerRe: Unable to start debugging. Pin
Vimalsoft(Pty) Ltd7-May-10 3:56
professionalVimalsoft(Pty) Ltd7-May-10 3:56 
AnswerRe: Unable to start debugging. Pin
erummirza30-Sep-10 20:06
erummirza30-Sep-10 20:06 
QuestionSeparator in WPF's TreeView Pin
Mohammad Dayyan20-Dec-09 23:35
Mohammad Dayyan20-Dec-09 23:35 
AnswerRe: Separator in WPF's TreeView Pin
Aviad P.21-Dec-09 0:32
Aviad P.21-Dec-09 0:32 
GeneralRe: Separator in WPF's TreeView Pin
Mohammad Dayyan21-Dec-09 2:14
Mohammad Dayyan21-Dec-09 2:14 
GeneralRe: Separator in WPF's TreeView Pin
Aviad P.21-Dec-09 2:42
Aviad P.21-Dec-09 2:42 
QuestionHow can i Impliment WPF programing in C# Dialog? Pin
pallaka20-Dec-09 20:33
pallaka20-Dec-09 20:33 
QuestionWPF, Serial Port, MutliThreading Pin
cppwxwidgetsss18-Dec-09 18:37
cppwxwidgetsss18-Dec-09 18:37 

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.