Пример #1
0
        public override void Update(GraphicElement el, string label)
        {
            AssemblyBox box = (AssemblyBox)el;

            (label == "Filename").If(() =>
            {
                box.Filename = Filename;
                box.Text     = string.IsNullOrEmpty(Filename) ? "Assy" : ("Assy: " + Filename);
            });

            base.Update(el, label);
        }
Пример #2
0
 public AssemblyBoxProperties(AssemblyBox el) : base(el)
 {
     Filename = el.Filename;
 }