Beispiel #1
0
        public override void SetAttrMulti(FLOObj O)
        {
            FLORes o = (FLORes)O;

            if (init)
            {
                this.tb_resourcepre.Text  = o.Res_resourcepre;
                this.tb_resource.Text     = o.Res_resource;
                this.tb_resourcesite.Text = o.Res_resourcesite;
            }

            init = false;

            if (this.tb_resourcepre.Text != o.Res_resourcepre)
            {
                this.tb_resourcepre.Text = "";
            }
            if (this.tb_resource.Text != o.Res_resource)
            {
                this.tb_resource.Text = "";
            }
            if (this.tb_resourcesite.Text != o.Res_resourcesite)
            {
                this.tb_resourcesite.Text = "";
            }
        }
Beispiel #2
0
        public override void GetAttr(FLOObj O)
        {
            FLORes o = (FLORes)O;

            o.Res_resourcepre  = this.tb_resourcepre.Text;
            o.Res_resource     = this.tb_resource.Text;
            o.Res_resourcesite = this.tb_resourcesite.Text;
        }
Beispiel #3
0
        public override void SetAttr(FLOObj O)
        {
            FLORes o = (FLORes)O;

            this.tb_resourcepre.Text  = o.Res_resourcepre;
            this.tb_resource.Text     = o.Res_resource;
            this.tb_resourcesite.Text = o.Res_resourcesite;
        }