Esempio n. 1
0
 public CSharpClassBoxProperties(CSharpClassBox el) : base(el)
 {
     Filename      = el.Filename;
     NamespaceName = el.NamespaceName;
     ClassName     = el.ClassName;
     MethodName    = el.MethodName;
 }
Esempio n. 2
0
        public override void Update(GraphicElement el, string label)
        {
            CSharpClassBox box = (CSharpClassBox)el;

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

            base.Update(el, label);
        }
Esempio n. 3
0
 public CSharpClassBoxProperties(CSharpClassBox el) : base(el)
 {
     Filename = el.Filename;
 }