コード例 #1
0
        public override void Update(GraphicElement el, string label)
        {
            HtmlFileBox box = (HtmlFileBox)el;

            (label == "Filename").If(() =>
            {
                box.Filename = Filename;
                box.UpdateCodeBehind();
                box.Text = string.IsNullOrEmpty(Filename) ? "?.html" : (Path.GetFileName(Filename));
            });

            base.Update(el, label);
        }
コード例 #2
0
 public HtmlFileBoxProperties(HtmlFileBox el) : base(el)
 {
     Filename = el.Filename;
 }