Beispiel #1
0
        private void B()
        {
            o1 o = this.A;

            this.A = this.A();
            if (this.A != o && this.A != null)
            {
                this.A(this.A);
            }
        }
Beispiel #2
0
        private void a(object obj, NodeLabelEditEventArgs nodeLabelEditEventArgs)
        {
            nodeLabelEditEventArgs.CancelEdit = true;
            if (nodeLabelEditEventArgs.Node == null)
            {
                return;
            }
            if (string.IsNullOrEmpty(nodeLabelEditEventArgs.Label))
            {
                return;
            }
            o1 o = (o1)nodeLabelEditEventArgs.Node.Tag;

            if (o == null)
            {
                return;
            }
            string text = o1.b(nodeLabelEditEventArgs.Label);

            if (string.IsNullOrEmpty(text))
            {
                return;
            }
            if (text == o.b())
            {
                return;
            }
            bool flag = false;
            q1   q    = q1.A();

            if (o is h2)
            {
                R1 r = q.A((h2)o);
                flag = r.a(text);
            }
            else
            {
                if (o is p1)
                {
                    p1 p  = (p1)o;
                    R1 r2 = q.A(q.A(p));
                    flag = r2.a(p, text);
                }
            }
            if (!flag)
            {
                string text2 = "Der Name '" + text + "' ist unzulässig oder bereits vergeben";
                MessageBox.Show(this, text2, j1.a(), MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }
Beispiel #3
0
 private void A(o1 o)
 {
     if (this.A == 0)
     {
         this.A();
         if (o is h2)
         {
             h2 h = (h2)o;
             if (h != null)
             {
                 this.A.A(h);
             }
         }
         if (o is p1)
         {
             p1 p = (p1)o;
             if (p != null)
             {
                 this.A.A(p);
             }
         }
         this.a();
     }
 }