示例#1
0
    //#region Display
    //private string DisplayOverLineStr(string input, string color)
    //{
    //    if (_Print)
    //        return "<span style='text-decoration:overline;color:" + color + "'>" + input + "</span>";
    //    else
    //        return string.Empty;
    //}

    //private string DisplayStr(string input, string color)
    //{
    //    if (_Print)
    //        return "<span style='color:" + color + "'>" + input + "</span>";
    //    else
    //        return string.Empty;
    //}

    //private string DisplayStrWidthBold(string input, string color)
    //{
    //    if (_Print)
    //        return "<span style='display:-moz-inline-box; display:inline-block; width:20px;font-weight: bold;color:" + color + "'>" + input + "</span>";
    //    else
    //        return string.Empty;
    //}

    //private string DisplayStrWidth(string input, string color)
    //{
    //    if (_Print)
    //        return "<span style='display:-moz-inline-box; display:inline-block; width:20px;color:" + color + "'>" + input + "</span>";
    //    else
    //        return string.Empty;
    //}

    //private string DisplayStr(string input, string color, int number)
    //{
    //    if (_Print)
    //        return "<span title=" + number.ToString() + " style='cursor:pointer;color:" + color + "'>" + input + "</span>";
    //    else
    //        return string.Empty;

    //}

    //private string DisplayBR()
    //{
    //    if (_Print)
    //        return "<br><br>";
    //    else
    //        return string.Empty;
    //}
    //private string DisplayBROne()
    //{
    //    if (_Print)
    //        return "<br>";
    //    else
    //        return string.Empty;
    //}
    //#endregion

    #region TwoNearRepeat
    private void TwoNearRepeat(ArrayList arrRound, int[,] miniRedBall, int[,] redBall)
    {
        MyGoal.InnerHtml = NewNumber.TwoNearRepeat(arrRound, miniRedBall, redBall, ref _DT);
    }