You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
default:ErrorText(parts,ErrorTypes.custom,custom:$"Expected 'top', 'bottom', 'left', 'right', or 'none' with anchor values");break;
4974
+
}
4975
+
}
4976
+
if(top)anchor|=AnchorStyles.Top;
4977
+
if(bottom)anchor|=AnchorStyles.Bottom;
4978
+
if(left)anchor|=AnchorStyles.Left;
4979
+
if(right)anchor|=AnchorStyles.Right;
4980
+
}
4981
+
else
4982
+
{
4983
+
ErrorText(parts,ErrorTypes.custom,custom:$"Expected '[' and ']' to set anchor values");
4984
+
}
4985
+
}
4986
+
catch
4987
+
{
4988
+
anchor=AnchorStyles.Top|AnchorStyles.Left;
4989
+
}
4990
+
break;
4938
4991
default:
4939
4992
ErrorText(_parts,ErrorTypes.custom,custom:$"'{before[0].Trim()}' is not a correct property for '{control.Name}'. Visit https://ez-code.web.app for more information about property values.");
4940
4993
break;
@@ -4954,6 +5007,9 @@ async Task<Control> Change(Control _control, string[] _parts, int index, bool te
0 commit comments