窗体外的类操作窗体控件的问题

窗体TestForm:
public   string  SetTextBox
        
{
            
set
            
{
                
this.textBox1.Text = value;
            }

        }


        
public  partial  class  TestForm : Form
        
{
            
public string SetTextBox
            
{
                
set
                
{
                    
this.textBox1.Text = value;
                }

            }


            
public TestForm()
            
{
                InitializeComponent();
            }

        }
窗体外的一个类newtest:
using  System;
using  System.Collections.Generic;
using  System.Text;

namespace  natsuwind.PetBot
{
    
class newtest
    
{       

        
public static void Start()
        
{
            TestForm myForm 
= new TestForm();
            myForm.SetTextBox 
= "1231315";          
        }

    }

}
在另外一个类里面调用newtest{}里面的Start()方法,TestForm里面的TextBox1的显示还是没有改变的呢.
PS:不报错 但是也没有显示成功
奇怪好久了
麻烦大家了~~~帮帮忙~~~

你可能感兴趣的:(问题)