using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using
我在元素主机中托管WPF应用程序,并且它在应用程序内部具有WPF用户控件。在WPF应用程序中的某一时刻(因为我知道Application类将是null,我实例化它,像这样: if (Application.Current == null)
{
// create the Application object
new Application();
//
我想在用户单击提交按钮时将用户输入插入到数组中。 这是我写的,但它似乎并没有工作。该表单称为form1,它是它自己的类,文本框是textbox1。注意:我是编程方面的新手。 //This is my array
private string[] texts = new string[10];
public string[] Texts
{
get { re