با عرض سلام و خسته نباشید خدمت کاربران وب سایت پروگرم 98 😉 در این مطلب کد رویداد mouse down برای Run با wpf و #C را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
کد رویداد mouse down برای Run با wpf و #C :
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
public class MainClass : Window
{
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new MainClass());
}
public MainClass()
{
TextBlock text = new TextBlock();
text.FontSize = 32;
text.HorizontalAlignment = HorizontalAlignment.Center;
text.VerticalAlignment = VerticalAlignment.Center;
Content = text;
string strQuote = "this is a test";
string[] strWords = strQuote.Split();
foreach (string str in strWords)
{
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
public class MainClass : Window
{
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new MainClass());
}
public MainClass()
{
TextBlock text = new TextBlock();
text.FontSize = 32;
text.HorizontalAlignment = HorizontalAlignment.Center;
text.VerticalAlignment = VerticalAlignment.Center;
Content = text;
string strQuote = "this is a test";
string[] strWords = strQuote.Split();
foreach (string str in strWords)
{