public Waypoint(WaypointType Type, ConditionalVarType VarType, uint ItemID, ConditionalCheckType CheckType, int Output, string GoToLabel) { wType = Type; wCondVarType = VarType; wItemID = ItemID; wCondCheckType = CheckType; wCondOutput = Output; wLabelName = GoToLabel; }
private string varTypeToString(ConditionalVarType varType) { return varType.ToString().ToLower(); }
private void uxConditionalVarType_SelectedIndexChanged(object sender, EventArgs e) { condVarType = (ConditionalVarType)uxConditionalVarType.SelectedIndex; uxConditionalItemIDLabel.Visible = condVarType == ConditionalVarType.CountItems; uxConditionalItemID.Visible = condVarType == ConditionalVarType.CountItems; }