MainForm.cs
/// <summary>
/// Set the lua code display style
/// </summary>
/// <param name="arg">'summary', 'pc', 'list', 'decompile' are valid. </param>
Set the lua code display style
Set the lua code display style
public void SetCodeDisplayStyle(string arg)
        {
            arg = arg.ToLower();
            switch (arg)
            {
                case "summary": mSummaryRadioButton.Checked = true; break;
                case "pc": pcLuaCodeButton.Checked = true; break;
                case "list": listingButton.Checked = true; break;
                case "decompile": decompileButton.Checked = true; break; 
            }
        }
public void SetCodeDisplayStyle ( string arg ) { arg = arg . ToLower ( ) ; switch ( arg ) { case " " : mSummaryRadioButton . Checked = true ; break ; case " " : pcLuaCodeButton . Checked = true ; break ; case " " : listingButton . Checked = true ; break ; case " " : decompileButton . Checked = true ; break ; } }
Set the lua code display style
Set the lua code display style
arg
string
'summary', 'pc', 'list', 'decompile' are valid.
' summary ' ' pc ' ' list ' ' decompile ' are valid .