示例#1
0
    public static string  stringFromDisplayOrientation(TypeDisplayOrientation the_enum)
    {
        switch (the_enum)
        {
        case TypeDisplayOrientation.DisplayOrientation_Horizontal:
            return("Horizontal");

        case TypeDisplayOrientation.DisplayOrientation_Vertical:
            return("Vertical");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
示例#2
0
 protected override void handle_result(TypeDisplayOrientation result)
 {
     top.value.Add(result);
 }
示例#3
0
            protected override void handle_result(TypeDisplayOrientation result)
            {
//@@@        Debug.Assert(!have_value);
                have_value = true;
                value      = result;
            }
示例#4
0
 protected abstract void handle_result(TypeDisplayOrientation result);
示例#5
0
 public void setDisplayOrientation(TypeDisplayOrientation new_value)
 {
     flagHasDisplayOrientation = true;
     storeDisplayOrientation   = new_value;
 }