Notes
Notes - notes.io |
<--
int x = Convert.ToInt32(s1.Text);
int y = Convert.ToInt32(s2.Text);
int toplanan = x + y;
toplam.Text= Convert.ToString(toplanan);
*************************************************************************
*************************************************************************
<Button Content="Button" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75"/>
<Button Content="Button" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75"/>
<Button Content="Button" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="75"/>
<Button Content="Button" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="75"/>
*************************************************************************
*************************************************************************
<Ellipse HorizontalAlignment="Left" Height="100" Margin="25,91,0,0" Stroke="Black" VerticalAlignment="Top" Width="100" RenderTransformOrigin="0.64,1.07">
<Ellipse.Fill>
<RadialGradientBrush GradientOrigin="0.2,0.2" >
<GradientStop Color="White" Offset="0.01" />
<GradientStop Color="Black" Offset="0.9" />
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
*************************************************************************
*************************************************************************
<Rectangle Height="150" Width="200" Stroke="Green" StrokeDashArray="5" StrokeDashCap="Flat" StrokeThickness="5" Margin="29,89,171,61" />
*************************************************************************
*************************************************************************
<UserControl.Resources>
<Storyboard x:Name="donbabamdon">
<!-- <DoubleAnimation Storyboard.TargetName="turnmen" Storyboard.TargetProperty="(Angle)" AutoReverse="True" RepeatBehavior="Forever" Duration="0:0:1" SpeedRatio="1" To="45"></DoubleAnimation> -->
<DoubleAnimation Storyboard.TargetName="bytcnm" Storyboard.TargetProperty="(Scalex)" AutoReverse="False" To="2"></DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="bytcnm" Storyboard.TargetProperty="(ScaleY)" AutoReverse="False" To="2"></DoubleAnimation>
</Storyboard>
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="White">
<Button x:Name="byt" Content="ahmet" HorizontalAlignment="Left" Margin="150,99,0,0" VerticalAlignment="Top" Width="100" Height="30" RenderTransformOrigin="0.5,0.5" Click="byt_Click">
<!-- <Button.RenderTransform>
<RotateTransform x:Name="turnmen" ></RotateTransform>
</Button.RenderTransform>
-->
<Button.RenderTransform>
<ScaleTransform x:Name="bytcnm"></ScaleTransform>
</Button.RenderTransform>
</Button>
*************************************************************************
*************************************************************************
<Path Fill="Green" Data="M 90,105 325,40 290,300" UseLayoutRounding="False"/>
*************************************************************************
*************************************************************************
<Grid>
<Ellipse Width="100" Height="50"
Stroke="Blue" StrokeThickness="5" Fill="Yellow"
HorizontalAlignment="Left" VerticalAlignment="Top"
Margin="10, 10, 0, 0" />
</Grid>
*************************************************************************
*************************************************************************
<UserControl.Resources> <Storyboard x:Name="Story1"> <DoubleAnimationUsingKeyFrames AutoReverse="True" Duration="0:0:3" RepeatBehavior="Forever" Storyboard.TargetName="kaydir" Storyboard.TargetProperty="X"> <LinearDoubleKeyFrame KeyTime="0:0:0" Value="50"/> <LinearDoubleKeyFrame KeyTime="0:0:3" Value="300"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </UserControl.Resources> <Canvas> <Ellipse x:Name="daire" Fill="Red" Margin="5" Width="115" Height="111" Canvas.Left="60" Canvas.Top="57"> <Ellipse.RenderTransform> <TranslateTransform x:Name="kaydir" X="0" Y="0"/> </Ellipse.RenderTransform> </Ellipse> </Canvas>
*************************************************************************
*************************************************************************
<Grid>
<Line X1="250" Y1="40" X2="50" Y2="200" Stroke="Red" StrokeThickness="5"/>
</Grid>
*************************************************************************
*************************************************************************
<Grid>
<Line X1="250" Y1="40" X2="50" Y2="200" StrokeDashArray="1,1" Stroke="Red" StrokeThickness="5" Margin="-33, -12, 33, 12" />
<Line X1="250" Y1="40" X2="50" Y2="200" StrokeDashArray="4,3" Stroke="Red" StrokeThickness="5" Margin="-12, -12, 12, 12" />
</Grid>
*************************************************************************
*************************************************************************
<Grid>
<Path Data="M 10,100 C 10,300 300,-200 250,100z"
Stroke="Red" Fill="Orange"
Canvas.Left="10" Canvas.Top="10" />
</Grid>
*************************************************************************
*************************************************************************
<Canvas>
döndürme
<nesne>
<nesnesismi.RenderTransform>
<RotateTransform Angle="" CenterX="" CenterY="" ></RotateTransform>
</nesnesismi.RenderTransform>
</nesne>
ölçekleme
<nesne>
<nesnesismi.RenderTransform>
<ScaleTransform ScaleX="" ScaleY=""></ScaleTransform>
</nesnesismi.RenderTransform>
</nesne>
Öteleme
<nesne>
<nesnesismi.RenderTransform>
<TranslateTransform X="" Y=""></TranslateTransform>
</nesnesismi.RenderTransform>
</nesne>
Çarpıtma
<nesne>
<nesnesismi.RenderTransform>
<SkewTransform AngleX="" AngleY="" />
</nesnesismi.RenderTransform>
</nesne>
*************************************************************************
*************************************************************************
<Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF">
<Path.Data>
<GeometryGroup FillRule="EvenOdd">
<LineGeometry StartPoint="10,10" EndPoint="50,30" />
<EllipseGeometry Center="40,70" RadiusX="30" RadiusY="30" />
<RectangleGeometry Rect="30,55 100 30" />
</GeometryGroup>
</Path.Data>
</Path>
</Canvas>
*************************************************************************
*************************************************************************
listBox1.Items.Clear();
for (int i = 1; i <= 100; i++)
{
listBox1.Items.Add(i);
}
*************************************************************************
*************************************************************************
void dur()
{
updown.Pause(); // yukarı
sitdown.Pause(); // aşağı
turnright.Pause(); // sağ
turnleft.Pause(); // sol
}
turnleft.Begin();
updown.Begin();
<Storyboard x:Name="updown">
<DoubleAnimation Storyboard.TargetName="top" Storyboard.TargetProperty="(Canvas.Top)" Duration="0:0:1" By="-200"/>
</Storyboard>
*************************************************************************
*************************************************************************
<stackpanel name="stackpanel1" orientation="vertical/horizontal" widht="" height="" >
<button content="anasayfa" name="">
<.../>
<stackpanel>
*************************************************************************
*************************************************************************
<canvas>
<button content="button1" widht="80" height="30" canvastop="20" canvasleft="20">
<.....>
</canvas>
*************************************************************************
*************************************************************************
<canvas>
<border horizontalAligment="center" Verticalaligment="center" Borderbrush="red" BorderThickness="5/kalınlık" canvastop="...." canvasleft="">
<Image height="150" name="image1" strech="Fill" widht="150" source="...jpg"/>
</border>
</canvas>
*************************************************************************
*************************************************************************
fırçalar
Solid color bruhs
herhangi bir nesnenin rengini düz renk yapar
<rectangle widht="50" height="50" strokes="kenarlık rengi" strokethickness="kenarlık kalınlıgı" /> //kareyi oluşturduk / açtık
<rectange.Fill> // karenin renk özelliğine geçiş
<solidcolorbrush color="red"> // rengi solid color brush fırçası ile değiştirdik
</Rectangle.Fill> // renk özelliğini kapattık
</rectangle> // kareyi kapattık
*************************************************************************
*************************************************************************
<Grid>
<Line X1="50" X2="450" Y1="150" Y2="150" Stroke="Red" StrokeDashArray="1" StrokeDashCap="Flat" StrokeThickness="5"/>
</Grid>
// kırmızı nokta nokta çizgi
********************************************************************************************************************************
<Canvas>
<Path Fill="Bisque" Data="M 91,108 L 324,40 290,300z" Margin="77, 51.5, 197.5, 90.5" Stretch="Fill" Stroke="Black" StrokeThickness="1" Width="74" Height="98" Canvas.Left="-17" Canvas.Top="-8" />
</Canvas>
// yamuk ten rengi üçgen
********************************************************************************************************************************
<Canvas>
<Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF" Margin="123, 80, 82, 12">
<Path.Data>
<GeometryGroup FillRule="EvenOdd">
<EllipseGeometry RadiusX="50" RadiusY="50" Center="75, 75"/>
<LineGeometry StartPoint="25, 10" EndPoint="90,150"/>
<EllipseGeometry RadiusX="100" RadiusY="100" Center="75,75"/>
<RectangleGeometry Rect="30, 55 100 30" />
</GeometryGroup>
</Path.Data>
</Path>
</Canvas>
//////////////////////////////////////////////////////////////////////////////
<Canvas RenderTransformOrigin="0.39,0.38">
<Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF" Height="204" Canvas.Left="75" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Canvas.Top="44" UseLayoutRounding="False" Width="205.5">
<Path.RenderTransform>
<CompositeTransform ScaleX="-1"/>
</Path.RenderTransform>
<Path.Data>
<GeometryGroup FillRule="EvenOdd">
<EllipseGeometry RadiusX="50" RadiusY="50" Center="75, 75"/>
<LineGeometry StartPoint="25, 10" EndPoint="90,150"/>
<EllipseGeometry RadiusX="100" RadiusY="100" Center="75,75"/>
<RectangleGeometry Rect="30, 55 100 30" />
</GeometryGroup>
</Path.Data>
</Path>
</Canvas>
// GEOMETRİ MOR GRUP YUVARLAK DİKDÖRTGEN CİZGİ
********************************************************************************************************************************
<Canvas>
<Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF">
<Path.Data>
<GeometryGroup FillRule="EvenOdd">
<LineGeometry StartPoint="10,10" EndPoint="50,30" />
<EllipseGeometry Center="40,70" RadiusX="30" RadiusY="30" />
<RectangleGeometry Rect="30,55 100 30" />
</GeometryGroup>
</Path.Data>
</Path>
</Canvas>
///////////////////////////////////////
<Canvas>
<Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF" Height="136.5" Stretch="Fill" UseLayoutRounding="False" Width="175.5" Canvas.Left="130.5" Canvas.Top="69">
<Path.Data>
<GeometryGroup FillRule="EvenOdd">
<LineGeometry StartPoint="10,10" EndPoint="50,30" />
<EllipseGeometry Center="40,70" RadiusX="30" RadiusY="30" />
<RectangleGeometry Rect="30,55 100 30" />
</GeometryGroup>
</Path.Data>
</Path>
</Canvas>
// GEOMETRİ MOR GRUP 2
********************************************************************************************************************************
<Grid>
<Path Data="M 10,100 C 10,300 300,-200 250,100z"
Stroke="Red" Fill="Orange"
Canvas.Left="10" Canvas.Top="10" />
</Grid>
//garip şekil
<Grid>
<Path Data="M 0,200 L100,200 50,50z"
Stroke="Black" Fill="Gray"
Canvas.Left="150" Canvas.Top="70" />
</Grid>
//üçgen düzgün
********************************************************************************************************************************
<Grid>
<Line X1="250" Y1="40" X2="50" Y2="200" StrokeDashArray="1,1" Stroke="Red" StrokeThickness="5" Margin="-33, -12, 33, 12" />
<Line X1="250" Y1="40" X2="50" Y2="200" StrokeDashArray="4,3" Stroke="Red" StrokeThickness="5" Margin="-12, -12, 12, 12" />
</Grid>
// kırmızı çizgili nokta ve aralıklı çizgi
********************************************************************************************************************************
<Grid>
<Line X1="250" Y1="40" X2="50" Y2="200" Stroke="Red" StrokeThickness="5"/>
</Grid>
//düz kırmızı çizgi
********************************************************************************************************************************
<Grid>
<Rectangle Width="200" Height="100" Fill="Blue" Stroke="Black" StrokeThickness="3"/>
</Grid>
//MAVİ dikdörtgen
********************************************************************************************************************************
<Grid>
<Ellipse Width="100" Height="50"
Stroke="Blue" StrokeThickness="5" Fill="Yellow"
HorizontalAlignment="Left" VerticalAlignment="Top"
Margin="10, 10, 0, 0" />
</Grid>
//mavi kenarlıklı sarı elips
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team