Пример #1
0
 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();
        }