private static void DrawScreen() { //lock (ScreenManager.LockSection) //{ RightBorderLine.draw(); BorderLine.draw(); InstrutionLabel.draw(); menutxtBox.draw(); messagebox.draw(); //} }
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(); }
public static void UpdateInstruction(string val) { InstrutionLabelStrVal = val; InstrutionLabel.textItem = InstrutionLabelStrVal; InstrutionLabel.draw(); }