コード例 #1
0
        protected override void SetupForm_Bindings()
        {
            base.SetupForm_Bindings();

            this.mBase = (ClsModule)base.mBase;

            var DateCreated = Do_Methods.Convert_DateTime(this.mBase.pDr_RowProperty["DateCreated"]);
            this.Txt_DateCreated.Text = DateCreated.HasValue ? DateCreated.Value.ToShortDateString() : "";

            var DateUpdated = Do_Methods.Convert_DateTime(this.mBase.pDr_RowProperty["DateUpdated"]);
            this.Txt_DateUpdated.Text = DateUpdated.HasValue ? DateUpdated.Value.ToShortDateString() : "";

            this.Txt_Code.Text = Do_Methods.Convert_String(this.mBase.pDr_RowProperty["Code"]);
            this.Txt_Name.Text = Do_Methods.Convert_String(this.mBase.pDr_RowProperty["Name"]);
            this.Txt_Remarks.Text = Do_Methods.Convert_String(this.mBase.pDr_RowProperty["Remarks"]);
        }
コード例 #2
0
 protected void Setup(ClsModule Base, long System_ModulesID, bool IsReadOnly = false)
 {
     base.Setup(Base, System_ModulesID, IsReadOnly);
 }