public AccessDisplayer(SrbFrame pa)
 {
     parent = pa;
     InitializeComponent();
     mainDGV.SelectionChanged += new EventHandler(mainDGV_SelectionChanged);
     pageTB.TextChanged       += new EventHandler(pageTB_TextChanged);
 }
示例#2
0
 public scanNodeState(SrbFrame frame = null)
 {
     this.backlogic = frame;
     InitializeComponent();
     this.scanPB.ForeColor = support.Color_BackGround;
     this.scanPB.BackColor = support.Color_red;
 }
示例#3
0
 public IBrain(SrbFrame f)
 {
     frame = f;
     log   = new Log_Writer("Brain");
     log.add("new Brain log!");
     log.autoFlushRun();
 }
示例#4
0
        public FrameForm(SrbFrame pa)
        {
            InitializeComponent();
            nodesTable.BackColor      = support.Color_BackGround;
            frameCounterFLP.BackColor = support.Color_BackGround;
            this.BackColor            = support.Color_HighLight;

            frameCounterFLP.Refresh();
            backlogic = pa;
            setPortState();
            brainRunStateUpdate();
            stopAddrShowBTN.Visible = false;
            // cycleSet(this, null);
            backlogic.eNode_register   += new SrbFrame.dNodeChange(addNode);
            backlogic.eNode_unregister += new SrbFrame.dNodeChange(removeNode);
            backlogic.eNode_change     += new SrbFrame.dNodeChange(changeNode);
            System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();

            VersionLAB.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() + "  @  " +
                              System.IO.File.GetLastWriteTime(this.GetType().Assembly.Location).ToString();
        }