예제 #1
0
  public static void getData( int ID, Form main )
  {
   AddData temp = new AddData( main );
   data.ID = id = ID;
   data.Data = 0;
   data.ent = null;
   temp.selectData( ID );
   temp.Dispose();

  }
예제 #2
0
        public void setBlockType(int ID, Form main)
        {
            AddData.getData(ID, main);

            plc.ID   = AddData.Data.ID;
            plc.Data = AddData.Data.Data;
            plc.ent  = AddData.Data.ent;

            plcCol = BlockColor.getBlockColor(ID);
        }