Example #1
0
 private void setUp()
 {
     mainHome = new MainHome(comm);
     or       = new Origination(mainHome);
     pOk      = true;
     isP      = true;
 }
Example #2
0
        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();
        }
Example #3
0
        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();
        }
Example #4
0
 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;
 }
Example #5
0
 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;
 }
Example #6
0
 private void setUp()
 {
     mainHome = new MainHome(comm);
     or = new Origination(mainHome);
     pOk = true;
     isP = true;
 }
Example #7
0
 public Origination(MainHome mainhome)
 {
     InitializeComponent();
     myMainHome = mainhome;
 }
Example #8
0
 public Origination(MainHome mainhome)
 {
     InitializeComponent();
     myMainHome = mainhome;
 }