| | |
| | | |
| | | btnConfrim.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | var temp = scene.sceneFunctionList.Find((obj) => obj.sid == function.sid) ; |
| | | var temp = scene.sceneFunctionList.Find((obj) => obj.sid == function.sid); |
| | | if (temp!=null) |
| | | { |
| | | temp = function; |
| | |
| | | } |
| | | refreshAction(); |
| | | this.RemoveFromParent(); |
| | | |
| | | }; |
| | | } |
| | | |
| | |
| | | ProgressTextColor = CSS_Color.FirstLevelTitleColor, |
| | | ProgressTextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | MaxValue = 100, |
| | | Progress = trait.value.ToString().Replace("{}", "") == "" ? 0 : (int)trait.value, |
| | | Progress = trait.value.ToString().Replace("{}", "") == "" ? 0 : Convert.ToInt32( trait.value), |
| | | SeekBarPadding = Application.GetRealWidth(20), |
| | | }; |
| | | optionBaseView.AddChidren(controlBar); |
| | | |