سلام بر برنامه نویسان عزیز ایران زمین 😉 در این مطلب از وب سایت پروگرم 98 کد رویداد SizeChanged برای Canvas با wpf و سی شارپ را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد رویداد SizeChanged برای Canvas با wpf و سی شارپ :
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
public class Spiral : Window
{
Polyline poly;
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new Spiral());
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
public class Spiral : Window
{
Polyline poly;
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new Spiral());