Click here to Skip to main content
15,888,164 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem connecting to MySQL Pin
Matt Meyer24-Jan-12 5:18
Matt Meyer24-Jan-12 5:18 
GeneralRe: Problem connecting to MySQL Pin
Jassim Rahma24-Jan-12 5:22
Jassim Rahma24-Jan-12 5:22 
QuestionSqlConnection in encrypted file Pin
Jassim Rahma23-Jan-12 21:44
Jassim Rahma23-Jan-12 21:44 
AnswerRe: SqlConnection in encrypted file Pin
Pete O'Hanlon23-Jan-12 22:18
mvePete O'Hanlon23-Jan-12 22:18 
GeneralRe: SqlConnection in encrypted file Pin
thatraja23-Jan-12 22:27
professionalthatraja23-Jan-12 22:27 
Questionprogrammatically change datagridviewbutton text property Pin
Mr.Kode23-Jan-12 14:03
Mr.Kode23-Jan-12 14:03 
AnswerRe: programmatically change datagridviewbutton text property Pin
Richard MacCutchan23-Jan-12 23:23
mveRichard MacCutchan23-Jan-12 23:23 
Questionxaml page as resource Pin
Giorgi Nistor23-Jan-12 4:50
Giorgi Nistor23-Jan-12 4:50 
hi
I don't know haw can I open resources declared in other files in the main xaml.

I created another xaml file name PageOption where I declare all the elements I need in the page options page.

How do I open this page when I click on the Options menu item.

I am interested in a xaml solution, or just how to open the page in the event onClickOptionMenu handler function.


incomplete xaml:
HTML
<Window x:Class="georgeAlpha.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="320" Width="625">
    <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" WindowTitle="DockPanel Sample">
        <DockPanel LastChildFill="True">
            <Border Height="30" BorderBrush="Black" BorderThickness="1" DockPanel.Dock="Top">
                <Menu Name="menu1">
                    <MenuItem Header="_File" HorizontalAlignment="Left">
                    </MenuItem>
                    <MenuItem Header="_SaveAs" />
                    <MenuItem Header="_Options" HorizontalAlignment="Left">
                    </MenuItem>


modified 23-Jan-12 11:47am.

AnswerRe: xaml page as resource Pin
dexterama23-Jan-12 5:55
professionaldexterama23-Jan-12 5:55 
GeneralRe: xaml page as resource Pin
Giorgi Nistor23-Jan-12 6:24
Giorgi Nistor23-Jan-12 6:24 
Questionrun the batch file code in C# Pin
Member 853472622-Jan-12 23:47
Member 853472622-Jan-12 23:47 
AnswerRe: run the batch file code in C# Pin
Richard MacCutchan22-Jan-12 23:50
mveRichard MacCutchan22-Jan-12 23:50 
AnswerRe: run the batch file code in C# PinPopular
phil.o23-Jan-12 3:19
professionalphil.o23-Jan-12 3:19 
AnswerRe: run the batch file code in C# Pin
lukeer23-Jan-12 4:24
lukeer23-Jan-12 4:24 
QuestionHow to resolve class type using enum Pin
emmmatty122-Jan-12 20:05
emmmatty122-Jan-12 20:05 
AnswerRe: How to resolve class type using enum Pin
OriginalGriff22-Jan-12 22:05
mveOriginalGriff22-Jan-12 22:05 
GeneralRe: How to resolve class type using enum Pin
emmmatty122-Jan-12 22:37
emmmatty122-Jan-12 22:37 
GeneralRe: How to resolve class type using enum Pin
OriginalGriff22-Jan-12 22:38
mveOriginalGriff22-Jan-12 22:38 
GeneralRe: How to resolve class type using enum Pin
PIEBALDconsult23-Jan-12 5:13
mvePIEBALDconsult23-Jan-12 5:13 
GeneralRe: How to resolve class type using enum Pin
jschell23-Jan-12 8:17
jschell23-Jan-12 8:17 
GeneralRe: How to resolve class type using enum Pin
BobJanova24-Jan-12 10:07
BobJanova24-Jan-12 10:07 
GeneralRe: How to resolve class type using enum Pin
jschell25-Jan-12 14:50
jschell25-Jan-12 14:50 
GeneralRe: How to resolve class type using enum Pin
Dean Oliver23-Jan-12 18:20
Dean Oliver23-Jan-12 18:20 
GeneralRe: How to resolve class type using enum Pin
BobJanova24-Jan-12 10:32
BobJanova24-Jan-12 10:32 
QuestionTask cancellation Pin
michaelgr122-Jan-12 3:59
michaelgr122-Jan-12 3:59 

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.