protected void DrawThree(string str, Action action) // 层次结构第三层 { m_Tools.Text_L("─── ", str.AddLightBlue()); if (null != action) { MyCreate.Heng(() => { MyCreate.AddSpace(35); MyCreate.Box(action); }); } }
protected void DrawnOne(string str, Action action, bool isKongGe = true) // 层次结构第一层 { if (isKongGe) { m_Tools.Text_L("─── ", str.AddBlue()); if (null != action) { MyCreate.Heng(() => { MyCreate.AddSpace(35); MyCreate.Box(action); }); } } else { MyCreate.Text(" ── " + str); if (null != action) { MyCreate.Heng(() => { MyCreate.AddSpace(18); MyCreate.Box(action); }); } } }