User Tools

Site Tools


1_guide:2_workflow:3_writecommonestlogic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
1_guide:2_workflow:3_writecommonestlogic [2017/06/25 12:44] – [3, Write Commonest Logic for visible interactivity] loywong1_guide:2_workflow:3_writecommonestlogic [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Workflow ====== 
-==== 3, Write Commonest Logic for visible interactivity ==== 
-  - Load a ui holder(panel) 
-    - <code c#>UIHub.instance.LoadUI((int)UIPanelType.TestPanel);</code> 
-  - Close a ui holder 
-    - <code c#> 
-UIHub.instance.GetBinder<$uibinder$> ((int)arr [0]/*holder insid*/).OnBtnClose (); 
-</code> 
-  - Call a check dialog 
-    - <code c#> 
-UIHub.instance.LoadCheckDialogUI ( 
-    "Warning", 
-    "Are you sure to delete this profile?", 
-    new Dictionary<UIEnum_CheckDlgBtnType, string> () {  
-        { UIEnum_CheckDlgBtnType.Confirm, "Confirm" },  
-        { UIEnum_CheckDlgBtnType.Cancel, "Cancel" } }, 
-    btnType => { 
- if (btnType == UIEnum_CheckDlgBtnType.Confirm) { 
-            //TODO: 
- } 
-    } 
-); 
-</code> 
  
-Run and try to operate the components. 
1_guide/2_workflow/3_writecommonestlogic.1498394653.txt.gz · Last modified: 2024/06/18 13:44 (external edit)