コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (ViewStateControlId == null)
     {
         GenerateViewStateControlId();
         GUIContext       = new NAS.GUI.Pattern.Context();
         GUIContext.State = new State.ObjectTypeListing.ObjectTypeListing(this);
     }
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (ViewStateControlId == null)
     {
         GenerateViewStateControlId();
         GUIContext    = new NAS.GUI.Pattern.Context();
         CustomFieldId = Guid.Empty;
     }
     gridviewListData_BindData(false);
     //formlayoutGeneralInfo.DataBind();
 }
コード例 #3
0
ファイル: ReceiptVoucherLocked.cs プロジェクト: ewin66/dev
 protected override bool Cancel(NAS.GUI.Pattern.Context context, System.Web.UI.Control _UIControl)
 {
     try
     {
         context.State = new ReceiptVoucherCanceling(_UIControl);
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
コード例 #4
0
ファイル: ReceiptVoucherLocked.cs プロジェクト: ewin66/dev
 protected override bool Save(NAS.GUI.Pattern.Context context, System.Web.UI.Control _UIControl)
 {
     throw new IncompatibleTransitionException();
 }
 public void InitControlState()
 {
     GUIContext       = new NAS.GUI.Pattern.Context();
     GUIContext.State = new NASCustomFieldTypeBuiltInMultiSelectionListControlDataViewingState(this);
 }
コード例 #6
0
 public void InitControlState()
 {
     GUIContext       = new Context();
     GUIContext.State = new NASCustomFieldTypeFloatControlDataViewingState(this);
 }