コード例 #1
0
 private static void DrawScreen()
 {
     //lock (ScreenManager.LockSection)
     //{
     RightBorderLine.draw();
     BorderLine.draw();
     InstrutionLabel.draw();
     menutxtBox.draw();
     messagebox.draw();
     //}
 }
コード例 #2
0
        public static void UpdateInstruction(int val)
        {
            string printstring = "";
            int    bitval      = 1;
            int    finalval    = 0;

            for (int i = 0; i < InstructionList.Length; i++)
            {
                finalval = (bitval << i) & val;
                if (finalval != 0)
                {
                    printstring += InstructionList[i] + " ";
                }
            }

            InstrutionLabelStrVal    = printstring;
            InstrutionLabel.textItem = InstrutionLabelStrVal;
            InstrutionLabel.draw();
        }
コード例 #3
0
 public static void UpdateInstruction(string val)
 {
     InstrutionLabelStrVal    = val;
     InstrutionLabel.textItem = InstrutionLabelStrVal;
     InstrutionLabel.draw();
 }