| | |
| | | pmhigherView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16); |
| | | pmhigherView.btnText.TextID = StringId.PM25; |
| | | viewLayout.AddChidren(pmhigherView.FLayoutView()); |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | |
| | | PmAction(this); |
| | | |
| | | }; |
| | | |
| | | |
| | | |
| | | #endregion |
| | | } |
| | |
| | | /// </summary> |
| | | /// <param name="textInt">文本</param> |
| | | /// <param name="stateValue">编辑之前的状态值,默认为20</param> |
| | | public void InputBoxAction(int textInt,string stateValue="20") |
| | | public void InputBoxAction(int textInt, string stateValue = "20") |
| | | { |
| | | new LogicView.TipPopView { }.InputBox(textInt, stateValue, (value) => |
| | | { |
| | |
| | | /// <param name="input"></param> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="comparator">比较关系</param> |
| | | private void AddCondition(Input input, string keyValue,string comparator) |
| | | private void AddCondition(Input input, string keyValue, string comparator) |
| | | { |
| | | ///记录索引值 |
| | | int index = -1; |
| | |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="comparator">比较关系</param> |
| | | /// <returns></returns> |
| | | private bool ExistKey(List<Dictionary<string, string>> dicList, string keyValue, string comparator) |
| | | private bool ExistKey(List<Dictionary<string, string>> dicList, string keyValue, string comparator) |
| | | { |
| | | for (int i = 0; i < dicList.Count; i++) |
| | | { |
| | |
| | | return false; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 数值返回文本 |
| | | /// </summary> |
| | | /// <param name="strValue">值</param> |
| | | /// <returns></returns> |
| | | public string GetString(string strValue) |
| | | { |
| | | string text = ""; |