private void setUp() { mainHome = new MainHome(comm); or = new Origination(mainHome); pOk = true; isP = true; }
private float[] virtualAngle = new float[6] { -45, 90, 45, -90, -135, 135 }; //虚拟角度分布 #endregion Fields #region Constructors public NetStruct(MainHome tMainHome) { InitializeComponent(); mainHome = tMainHome; StartPoint = new List<Point>(); EndPoint = new List<Point>(); IntPtr i = this.Handle; thread = new Thread(new ThreadStart(work)); thread.Start(); }
public NetStruct(MainHome tMainHome) { InitializeComponent(); mainHome = tMainHome; StartPoint = new List <Point>(); EndPoint = new List <Point>(); IntPtr i = this.Handle; thread = new Thread(new ThreadStart(work)); thread.Start(); }
public Config(MainHome tHome) { InitializeComponent(); mainHome = tHome; checkBox1.Checked = mainHome.getFilter(); checkBox2.Checked = mainHome.getModify(); checkBox4.Checked = checkBox4.Checked = mainHome.getLog(); flag = false; data = new double[27]; sum = 0; head = tail = 0; }
public Origination(MainHome mainhome) { InitializeComponent(); myMainHome = mainhome; }