|
-
Feb 11th, 2009, 07:32 PM
#1
Thread Starter
Frenzied Member
test
A lora lora bugs gotten!
Code:
<Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid>
<RichTextBox Height="79" Name="RichTextBox1" Width="278" IsDocumentEnabled="False" VerticalAlignment="Top" />
<Button HorizontalAlignment="Right" Margin="0,85,0,0" Name="Button1" Width="75" Height="23" VerticalAlignment="Top">Button</Button>
<TextBox Margin="0,126,0,61" Name="TextBox1" />
<Button Height="23" HorizontalAlignment="Right" Margin="0,0,0,12" Name="Button2" VerticalAlignment="Bottom" Width="75">Button</Button>
</Grid>
</Window>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> Key="{xtatic SystemColors.HighlightBrushKey}"
x:Key="{xstatic SystemColors.HighlightBrushKey}"
<VisualBrush Visual="{Binding ElementName=ImageContainer}" />
-
Feb 18th, 2009, 02:20 AM
#2
Re: test
Code:
<Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005" xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"> <DockPanel> <Border Background="SkyBlue" BorderBrush="Black" BorderThickness="1" DockPanel.Dock="Top"> <Menu Background="SkyBlue"> <MenuItem Header="Language" > <MenuItem Header="English" Name="english" /> <MenuItem Header="German" Name="german" /> <MenuItem Header="Italian" Name="italian"/> <Border Height="25" Background="SkyBlue" BorderBrush="Black" BorderThickness="1" DockPanel.Dock="Top"> <Border Height="25" Background="#ffff99" BorderBrush="Black" BorderThickness="1" DockPanel.Dock="Bottom"> <TextBlock Foreground="black">Dock = "Bottom" <Border Width="200" Background="PaleGreen" BorderBrush="Black" BorderThickness="1" DockPanel.Dock="Left"> <TextBlock Foreground="black">Dock = "Left" <Border Background="White" BorderBrush="Black" BorderThickness="1"> <TextFlow Background="LightSkyBlue" Foreground="Black" FontFamily="Palatino Linotype" FontSize="14" FontWeight="Normal" TextAlignment="Left" TextWrap="Wrap"> <Paragraph> <LineBreak/> <Page.Resources> <Style TargetType="{x:Type MenuItem}" x:Key="{x:Type MenuItem}" > <Setter Property="HeaderTemplate"> <Setter.Value> <DataTemplate DataType="{x:Type MenuItem}" > <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" > <Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" Fill="{TemplateBinding ContentControl.Background}" Stroke="VerticalGradient #cc000000 white " StrokeThickness="1" /> <Rectangle x:Name="GelShine" Margin="4,3,4,0" VerticalAlignment="top" RadiusX="6" RadiusY="6" Opacity="1" Fill="VerticalGradient #ccffffff transparent" Stroke="transparent" Height="15px" > <ContentPresenter x:Name="GelButtonContentShadow" VerticalAlignment="center" HorizontalAlignment="center" Content="{TemplateBinding ContentControl.Content}" Margin="15,5,15,5" TextBlock.Foreground="black" RenderTransform="translate 0 1" /> <ContentPresenter x:Name="GelButtonContentWhite" VerticalAlignment="center" HorizontalAlignment="center" Content="{TemplateBinding ContentControl.Content}" Margin="15,5,15,5" TextBlock.Foreground="white" /> <DataTemplate.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="MenuItem.Background" Value="Red"> <Trigger Property="IsMouseOver" Value="False"> <Setter Property="MenuItem.Background" Value="SkyBlue">
-
Feb 18th, 2009, 02:24 AM
#3
Re: test
Code:
<Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005">
<DockPanel>
<Border Background="SkyBlue" BorderBrush="Black"
BorderThickness="1" DockPanel.Dock="Top">
<Menu Background="SkyBlue">
<MenuItem Header="Language" >
<MenuItem Header="English"
Name="english" />
<MenuItem Header="German"
Name="german" />
<MenuItem Header="Italian"
Name="italian"/>
</MenuItem>
</Menu>
</Border>
<Border Height="25" Background="SkyBlue"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Top">
</Border>
<Border Height="25" Background="#ffff99"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Bottom">
<TextBlock Foreground="black">Dock = "Bottom"
</TextBlock>
</Border>
<Border Width="200" Background="PaleGreen"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Left">
<TextBlock Foreground="black">Dock = "Left"
</TextBlock>
</Border>
<Border Background="White" BorderBrush="Black"
BorderThickness="1">
<TextFlow Background="LightSkyBlue"
Foreground="Black"
FontFamily="Palatino Linotype"
FontSize="14"
FontWeight="Normal" TextAlignment="Left"
TextWrap="Wrap">
<Paragraph>
<LineBreak/>
</Paragraph>
</TextFlow>
</Border>
</DockPanel>
<Page.Resources>
<Style TargetType="{x:Type MenuItem}"
x:Key="{x:Type MenuItem}" >
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate DataType="{x:Type MenuItem}" >
<Grid Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}" >
<Rectangle x:Name="GelBackground"
Opacity="1" RadiusX="9" RadiusY="9"
Fill="{TemplateBinding ContentControl.Background}"
Stroke="VerticalGradient #cc000000 white "
StrokeThickness="1" />
<Rectangle x:Name="GelShine"
Margin="4,3,4,0"
VerticalAlignment="top"
RadiusX="6"
RadiusY="6" Opacity="1"
Fill="VerticalGradient
#ccffffff transparent"
Stroke="transparent"
Height="15px" ></Rectangle>
<ContentPresenter
x:Name="GelButtonContentShadow"
VerticalAlignment="center"
HorizontalAlignment="center"
Content="{TemplateBinding
ContentControl.Content}"
Margin="15,5,15,5"
TextBlock.Foreground="black"
RenderTransform="translate 0 1" />
<ContentPresenter
x:Name="GelButtonContentWhite"
VerticalAlignment="center"
HorizontalAlignment="center"
Content="{TemplateBinding
ContentControl.Content}"
Margin="15,5,15,5"
-
Feb 18th, 2009, 02:39 AM
#4
Re: test
Code:
<Window x:Class="Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="300"> <Grid> <RichTextBox Height="79" Name="RichTextBox1" Width="278" IsDocumentEnabled="False" VerticalAlignment="Top" /> <Button HorizontalAlignment="Right" Margin="0,85,0,0" Name="Button1" Width="75" Height="23" VerticalAlignment="Top">Button</Button> <TextBox Margin="0,126,0,61" Name="TextBox1" /> <Button Height="23" HorizontalAlignment="Right" Margin="0,0,0,12" Name="Button2" VerticalAlignment="Bottom" Width="75">Button</Button> </Grid> </Window> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> Key="{xtatic SystemColors.HighlightBrushKey}" x:Key="{xstatic SystemColors.HighlightBrushKey}" <VisualBrush Visual="{Binding ElementName=ImageContainer}" />
-
Feb 18th, 2009, 06:50 AM
#5
Thread Starter
Frenzied Member
Re: test
The fill seems to be an issue, i will look at that tonight.
-
Feb 18th, 2009, 03:19 PM
#6
-
Feb 18th, 2009, 03:21 PM
#7
Re: test
Code:
<Window x:Class="Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="300"> <Grid> <RichTextBox Height="79" Name="RichTextBox1" Width="278" IsDocumentEnabled="False" VerticalAlignment="Top" /> <Button HorizontalAlignment="Right" Margin="0,85,0,0" Name="Button1" Width="75" Height="23" VerticalAlignment="Top">Button</Button> <TextBox Margin="0,126,0,61" Name="TextBox1" /> <Button Height="23" HorizontalAlignment="Right" Margin="0,0,0,12" Name="Button2" VerticalAlignment="Bottom" Width="75">Button</Button> </Grid> </Window> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> Key="{xtatic SystemColors.HighlightBrushKey}" x:Key="{xstatic SystemColors.HighlightBrushKey}" <VisualBrush Visual="{Binding ElementName=ImageContainer}" />
-
Feb 18th, 2009, 03:21 PM
#8
Re: test
Hmm... new lines. How do I get newlines?
-
Feb 18th, 2009, 03:24 PM
#9
Re: test
Code:
<Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005">
<DockPanel>
<Border Background="SkyBlue" BorderBrush="Black"
BorderThickness="1" DockPanel.Dock="Top">
<Menu Background="SkyBlue">
<MenuItem Header="Language" >
<MenuItem Header="English"
Name="english" />
<MenuItem Header="German"
Name="german" />
<MenuItem Header="Italian"
Name="italian"/>
</MenuItem>
</Menu>
</Border>
<Border Height="25" Background="SkyBlue"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Top">
</Border>
<Border Height="25" Background="#ffff99"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Bottom">
<TextBlock Foreground="black">Dock = "Bottom"
</TextBlock>
</Border>
<Border Width="200" Background="PaleGreen"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Left">
<TextBlock Foreground="black">Dock = "Left"
</TextBlock>
</Border>
<Border Background="White" BorderBrush="Black"
BorderThickness="1">
<TextFlow Background="LightSkyBlue"
Foreground="Black"
FontFamily="Palatino Linotype"
FontSize="14"
FontWeight="Normal" TextAlignment="Left"
TextWrap="Wrap">
<Paragraph>
<LineBreak/>
</Paragraph>
</TextFlow>
</Border>
</DockPanel>
<Page.Resources>
<Style TargetType="{x:Type MenuItem}"
x:Key="{x:Type MenuItem}" >
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate DataType="{x:Type MenuItem}" >
<Grid Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}" >
<Rectangle x:Name="GelBackground"
Opacity="1" RadiusX="9" RadiusY="9"
Fill="{TemplateBinding ContentControl.Background}"
Stroke="VerticalGradient #cc000000 white "
StrokeThickness="1" />
<Rectangle x:Name="GelShine"
Margin="4,3,4,0"
VerticalAlignment="top"
RadiusX="6"
RadiusY="6" Opacity="1"
Fill="VerticalGradient
#ccffffff transparent"
Stroke="transparent"
Height="15px" ></Rectangle>
<ContentPresenter
x:Name="GelButtonContentShadow"
VerticalAlignment="center"
HorizontalAlignment="center"
Content="{TemplateBinding
ContentControl.Content}"
Margin="15,5,15,5"
TextBlock.Foreground="black"
RenderTransform="translate 0 1" />
<ContentPresenter
x:Name="GelButtonContentWhite"
VerticalAlignment="center"
HorizontalAlignment="center"
Content="{TemplateBinding
ContentControl.Content}"
Margin="15,5,15,5"
-
Feb 18th, 2009, 03:45 PM
#10
Re: test
Code:
<Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005">
<DockPanel>
<Border Background="SkyBlue" BorderBrush="Black"
BorderThickness="1" DockPanel.Dock="Top">
<Menu Background="SkyBlue">
<MenuItem Header="Language" >
<MenuItem Header="English"
Name="english" />
<MenuItem Header="German"
Name="german" />
<MenuItem Header="Italian"
Name="italian"/>
</MenuItem>
</Menu>
</Border>
<Border Height="25" Background="SkyBlue"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Top">
</Border>
<Border Height="25" Background="#ffff99"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Bottom">
<TextBlock Foreground="black">Dock = "Bottom"
</TextBlock>
</Border>
<Border Width="200" Background="PaleGreen"
BorderBrush="Black" BorderThickness="1"
DockPanel.Dock="Left">
<TextBlock Foreground="black">Dock = "Left"
</TextBlock>
</Border>
<Border Background="White" BorderBrush="Black"
BorderThickness="1">
<TextFlow Background="LightSkyBlue"
Foreground="Black"
FontFamily="Palatino Linotype"
FontSize="14"
FontWeight="Normal" TextAlignment="Left"
TextWrap="Wrap">
<Paragraph>
<LineBreak/>
</Paragraph>
</TextFlow>
</Border>
</DockPanel>
<Page.Resources>
<Style TargetType="{x:Type MenuItem}"
x:Key="{x:Type MenuItem}" >
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate DataType="{x:Type MenuItem}" >
<Grid Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}" >
<Rectangle x:Name="GelBackground"
Opacity="1" RadiusX="9" RadiusY="9"
Fill="{TemplateBinding ContentControl.Background}"
Stroke="VerticalGradient #cc000000 white "
StrokeThickness="1" />
<Rectangle x:Name="GelShine"
Margin="4,3,4,0"
VerticalAlignment="top"
RadiusX="6"
RadiusY="6" Opacity="1"
Fill="VerticalGradient
#ccffffff transparent"
Stroke="transparent"
Height="15px" ></Rectangle>
<ContentPresenter
x:Name="GelButtonContentShadow"
VerticalAlignment="center"
HorizontalAlignment="center"
Content="{TemplateBinding
ContentControl.Content}"
Margin="15,5,15,5"
TextBlock.Foreground="black"
RenderTransform="translate 0 1" />
<ContentPresenter
x:Name="GelButtonContentWhite"
VerticalAlignment="center"
HorizontalAlignment="center"
Content="{TemplateBinding
ContentControl.Content}"
Margin="15,5,15,5"
-
Feb 18th, 2009, 03:46 PM
#11
Re: test
Testing with HTML
Code:
<form id="Formmail" method="post" action="/menuprocessor.aspx">
<div id="sendtoafriend" style="display:none; overflow:hidden; height:95px; position:absolute; top:30px; float:right; right:30px; background:black; border:solid 2px gray;">
<input type="hidden" value="Mendhak" name="hidPT" id="hidPT" />
<input type="text" value="Your name" id="txtSFYourName" name="txtSFYourName" onfocus="clearthis(this);" /><br />
<input type="text" value="Your email address" id="txtSFYourEmail" name="txtSFYourEmail" onfocus="clearthis(this);" /><br />
<input type="text" value="Friend's email address" id="txtFriendEmail" name="txtFriendEmail" onfocus="clearthis(this);" /><br />
<div style="text-align:center;"><input type="image" src="/images/send.gif" id="btnSFSendFriend" name="btnSFSendFriend" alt="Send" title="Send" value="SF" /></div>
</div>
<div id="contactme" style="display:none; width: 350px; overflow:hidden; height:175px; position:absolute; top:30px; float:right; right:0px; background:black; border:solid 2px gray;">
<input type="text" value="Your name" id="txtEMYourEmail" name="txtEMYourEmail" onfocus="clearthis(this);" /><br />
<input type="text" value="Your email address" id="txtYourName" name="txtYourName" onfocus="clearthis(this);" /><br />
<textarea id="txtMessage" name="txtMessage" rows="5" cols="40"></textarea>
<div style="text-align:center;"><input type="image" src="/images/send.gif" id="btnEMMailMe" name="btnEMMailMe" alt="Send" title="Send" value="EM" /></div>
</div>
</form>
-
Feb 18th, 2009, 03:48 PM
#12
Re: test
Testing with my RSS feed
Code:
<?xml version='1.0' ?><rss version='2.0'><channel><title>Mendhak</title><link>http://www.mendhak.com/</link><description>Articles on the Paranormal, Thoughts, and Philosophy</description><language>en-us</language><docs>http://www.mendhak.com/rss.aspx</docs>
<item>
<title>The 10 Greatest Eclipses in History</title>
<link>http://www.mendhak.com/177-the-10-greatest-eclipses-in-history.aspx</link>
<description><img class="floatLeft" src="/images/website/other/eclipsethumb.jpg" alt="Eclipse" title="Eclipse" />Eclipses were a source of fear and reverence for our ancestors. In a world where any given civilization charted their lives by the movements of these celestial bodies, eclipses were something that stood outside their knowledge; these were the exceptions to the rules and were thought to be signs from the gods. Chaos ensued, prayers went out for the Sun or the moon to return to normal. These events were considered to be so important that they even altered the course of history. Here is a list of the 10 most important eclipses that have either affected history to some extent or have stood out as being of special significance.</description>
<pubDate>Tue, 10 Jun 2008 10:14:00 GMT</pubDate></item>
<item>
<title>Stonehenge Theories, Myths, Construction and Images</title>
<link>http://www.mendhak.com/85-stonehenge-theories-myths-construction-and-images.aspx</link>
<description><img src="/images/website/mystery/stonehenge_thumb.jpg" class="floatLeft" alt="Stonehenge" title="Stonehenge" />Stonehenge, the world's most famous megalith, is located above a chalky plain about 8 km north of Salisbury, UK. It has been drawing people towards it for around 5000 years now, and to this day remains an enigmatic mystery because the questions of how it was built, who built it and why they built it remain unanswered, the theories are only ranged and debated. Standing out distinctly from the green English countryside, the monument radiates a power that must have been ingrained in the site itself. It is an aura, a power which cannot be explained by architecture alone. A lot of the mystery and inherent wonderment associated with Stonehenge stems from the fact that the stones are so shrouded in mystery, this only being amplified by its age. The very fact that the stones survived for so long must mean they are special. This article looks at the description, construction, theories, astronomy, myths and images of Stonehenge.</description>
-
Feb 18th, 2009, 05:24 PM
#13
Thread Starter
Frenzied Member
Re: test
Excelent tests! I like the HTML one I will change the colors though but they look good.
What is the issue with the newlines?
-
Feb 18th, 2009, 05:26 PM
#14
Thread Starter
Frenzied Member
Re: test
Also should their be any other colors added to the RSS feed?
-
Feb 18th, 2009, 05:30 PM
#15
Thread Starter
Frenzied Member
Re: test
I dont suppose you have any xml knocking about you could test?
-
Feb 22nd, 2009, 02:41 PM
#16
My usual boring signature: Something
-
Feb 22nd, 2009, 02:41 PM
#17
Re: test
[c#]
haskf
[/c#]
[c]
asdf
[/c]
My usual boring signature: Something
-
Feb 22nd, 2009, 05:32 PM
#18
Thread Starter
Frenzied Member
Re: test
Now was there any need for that. Grow up man.
-
Feb 22nd, 2009, 05:56 PM
#19
Re: test
 Originally Posted by DeanMc
Now was there any need for that. Grow up man.
huh? I was testing something.
My usual boring signature: Something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|