コード例 #1
0
ファイル: E2.cs プロジェクト: hakanaku2009/svn-dump
        private static void n()
        {
            e2 e = (e2)e2.A.Tag;
            h2 h = e.L();

            e.l(e.L());
            if (e.L().A())
            {
                S.A().A(h, e, false);
                r.A().A(h, e.L());
                s.A().A(h, e.L());
                T.A().A(h, e);
                return;
            }
            if (e.L().a() && (e.L().A() is global::b.b || e.L().A() is global::b.a))
            {
                S.A().d();
                r.A().A(h, e.L());
                s.A().A(h, e.L());
                T.A().d();
                return;
            }
            S.A().A(h, e, false);
            r.A().d();
            s.A().d();
            T.A().d();
        }
コード例 #2
0
ファイル: Z1.cs プロジェクト: hakanaku2009/svn-dump
 public static void A(h2 h, T1 t)
 {
     if (!z1.A())
     {
         z1.A = new z1(t.b(), h, t);
     }
 }
コード例 #3
0
ファイル: I2.cs プロジェクト: hakanaku2009/svn-dump
        private void a(object obj, MouseEventArgs mouseEventArgs)
        {
            if (this.A == null)
            {
                return;
            }
            if (mouseEventArgs != null)
            {
                this.a = this.A.GetNodeAt(mouseEventArgs.Location);
            }
            h2 h = this.A(this.a, true);

            if (h == null)
            {
                p1 p = this.A(this.a, true);
                h = this.A(p);
            }
            if (h == null || h.F())
            {
                this.Cursor = Cursors.No;
                return;
            }
            if (this.b || h != this.A)
            {
                this.Cursor = X.A().D();
                return;
            }
            this.Cursor = X.A().c();
        }
コード例 #4
0
ファイル: I2.cs プロジェクト: hakanaku2009/svn-dump
 private void A(TreeNode treeNode)
 {
     try
     {
         this.A.BeginUpdate();
         if (this.b != null)
         {
             this.b.Nodes.Clear();
         }
         if (treeNode != null)
         {
             p1 p = this.A(treeNode, true);
             h2 h = this.A();
             if (p != null && h != null)
             {
                 this.A(h.E(), treeNode, null);
                 this.b = treeNode;
                 treeNode.Expand();
             }
         }
     }
     finally
     {
         this.A.EndUpdate();
     }
 }
コード例 #5
0
ファイル: J.cs プロジェクト: hakanaku2009/svn-dump
        public override void c(MouseEventArgs mouseEventArgs)
        {
            base.D(mouseEventArgs);
            h2 h = q1.A().A(this.A.A());

            if (mouseEventArgs.Button == MouseButtons.Left && J.A != this.A.A())
            {
                string text = "";
                if (h.e())
                {
                    text += "Dieses Diagramm ist geschützt\n";
                }
                else
                {
                    text += "Dieses Diagramm ist vom Autor geschützt worden\n";
                }
                text += "und kann daher nicht bearbeitet werden.";
                v.A(this.A, text);
                J.A = this.A.L();
                return;
            }
            if (mouseEventArgs.Button == MouseButtons.Right)
            {
                this.A.l();
                e2.L(this.A, this.A.L());
            }
        }
コード例 #6
0
        public E1 A(h2 h, string text)
        {
            E1 e = new E1(this, h, text);

            this.A(e);
            return(new E1(e));
        }
コード例 #7
0
        private void A(h2 h, p1 p)
        {
            this.A = h;
            string str = h.e() ? "" : "Projekt ";

            this.Text = this.A + " " + str + h.b();
            this.A.Items.Clear();
            int startPage = 0;
            int num       = 0;

            foreach (p1 current in h.E())
            {
                if (current == p)
                {
                    startPage = num;
                }
                this.A.Items.Add(string.Concat(new object[]
                {
                    "",
                    ++num,
                    ": ",
                    current.b()
                }));
            }
            this.A.InvalidatePreview();
            this.A.StartPage = startPage;
            this.a();
        }
コード例 #8
0
 public E1(i1 i, h2 h, string text) : base(h, text)
 {
     this.A = i;
     this.A = true;
     this.a = false;
     this.A = null;
 }
コード例 #9
0
ファイル: I2.cs プロジェクト: hakanaku2009/svn-dump
        private void a(TreeNode treeNode)
        {
            bool flag = treeNode.Nodes.Count > 0;

            this.A.Visible = (flag && !treeNode.IsExpanded);
            this.a.Visible = (flag && treeNode.IsExpanded);
            if (treeNode is J2 <h2> )
            {
                h2 h = ((J2 <h2>)treeNode).A();
                p1 p = (h == this.A()) ? this.A() : null;
                R.A().A(h);
                Q.A().A(h, true);
                q.A().A(h, p);
                r.A().d();
                s.A().d();
                return;
            }
            if (treeNode is J2 <p1> )
            {
                p1 p2 = ((J2 <p1>)treeNode).A();
                h2 h2 = q1.A().A(p2);
                R.A().d();
                Q.A().d();
                q.A().d();
                r.A().A(h2, p2);
                s.A().A(h2, p2);
            }
        }
コード例 #10
0
        public string B(string arg)
        {
            int num = 0;

            foreach (string current in this.A.Keys)
            {
                h2 h = this.A[current] as h2;
                if (h == null || !h.e())
                {
                    string[] array = current.Split(new char[]
                    {
                        " "[0]
                    });
                    if (array.Length != 2 || array[0] != arg)
                    {
                        break;
                    }
                    try
                    {
                        num = Math.Max(num, int.Parse(array[1]));
                    }
                    catch
                    {
                    }
                }
            }
            string text;

            do
            {
                num++;
                text = arg + " " + num;
            }while (this.A.ContainsKey(text));
            return(text);
        }
コード例 #11
0
ファイル: D2.cs プロジェクト: hakanaku2009/svn-dump
        private void c(object obj, EventArgs eventArgs)
        {
            h2 h = this.A.A();
            e2 e = this.A.A() as e2;

            S.A().A(h, e, true);
        }
コード例 #12
0
ファイル: B2.cs プロジェクト: hakanaku2009/svn-dump
 public void A(h2 h)
 {
     if (this.A() != h)
     {
         if (this.A() != null)
         {
             this.A().E().b(new W1 <p1> .B(this.A));
             this.A().E().e(new W1 <p1> .a(this.A));
             foreach (p1 current in this.A().E())
             {
                 this.A(current);
             }
         }
         this.A = h;
         if (this.A() != null)
         {
             int num = 0;
             foreach (p1 current2 in this.A().E())
             {
                 this.A(current2, num++);
             }
             this.A().E().B(new W1 <p1> .B(this.A));
             this.A().E().E(new W1 <p1> .a(this.A));
         }
     }
 }
コード例 #13
0
ファイル: E2.cs プロジェクト: hakanaku2009/svn-dump
 public void L(Q1 q)
 {
     if (this.A != q)
     {
         if (this.A != null)
         {
             this.A.a(new Q1.a(this.l));
             this.A.a(new Q1.A(this.L));
             this.A.a(this);
         }
         this.A = q;
         this.l();
         if (this.A() != null)
         {
             this.L().A(this);
             this.f(this.A);
             this.k();
             h2 h = q1.A().A(this.A());
             if (h == null)
             {
                 throw new l1();
             }
             this.A = q1.A().A(h);
             if (this.A.A() != h)
             {
                 throw new l1();
             }
             this.L().A(new Q1.a(this.l));
             this.L().A(new Q1.A(this.L));
             this.M(!this.A().J());
         }
     }
 }
コード例 #14
0
ファイル: I2.cs プロジェクト: hakanaku2009/svn-dump
        public void A(h2 key)
        {
            TreeNode selectedNode = this.A[key];

            this.A.SelectedNode = selectedNode;
            this.B();
        }
コード例 #15
0
ファイル: Z1.cs プロジェクト: hakanaku2009/svn-dump
 private z1(Form form, h2 h, T1 t)
 {
     if (form == null)
     {
         throw new ArgumentException();
     }
     if (t == null)
     {
         throw new ArgumentException();
     }
     if (t.b() != form)
     {
         throw new ArgumentException();
     }
     this.a();
     base.FormBorderStyle = FormBorderStyle.None;
     base.ShowIcon        = false;
     base.ShowInTaskbar   = false;
     base.WindowState     = FormWindowState.Normal;
     this.A = h;
     this.A = t;
     this.a = form;
     base.Show(form);
     t.k();
 }
コード例 #16
0
 public F1(h2 h, s1 s, string text) : base(h, text)
 {
     this.A = s.A().A();
     if (s is T1)
     {
         this.a = (this.A = new K((T1)s));
     }
 }
コード例 #17
0
ファイル: D1.cs プロジェクト: hakanaku2009/svn-dump
 public d1(h2 a, string text)
 {
     this.A = a;
     this.A = text.TrimEnd(new char[]
     {
         '.'
     });
 }
コード例 #18
0
ファイル: Q.cs プロジェクト: hakanaku2009/svn-dump
 public void A(h2 h, p1 p)
 {
     this.A = h;
     this.A = p;
     this.D();
     this.a.A(h != null);
     this.B.A(h != null && p != null);
 }
コード例 #19
0
 public static void a(h2 h, p1 p)
 {
     byte[] array = null;
     if (r.A(h, p, ref array))
     {
         m.A().A(p.GetType(), p.b(), null, array);
     }
 }
コード例 #20
0
 public void A(h2 h, p1 p)
 {
     this.A = h;
     this.A = p;
     this.D();
     this.a.A(u1.A(h));
     this.A.A(p != null);
 }
コード例 #21
0
ファイル: B2.cs プロジェクト: hakanaku2009/svn-dump
 public void c(h2 h)
 {
     if (!this.A.B(h))
     {
         return;
     }
     this.A.A(h);
     this.B();
 }
コード例 #22
0
ファイル: D1.cs プロジェクト: hakanaku2009/svn-dump
 public virtual void b()
 {
     if (this.A != d1.A.MayRedo)
     {
         throw new l1();
     }
     this.c();
     this.A = d1.A.MayUndo;
 }
コード例 #23
0
 public I1(h2 h, s1 s, p1 p, global::c.a a, string text) : base(h, p, text)
 {
     if (s != null && s.A() != p)
     {
         throw new l1();
     }
     this.A = a.A();
     this.A = a.c();
 }
コード例 #24
0
ファイル: B2.cs プロジェクト: hakanaku2009/svn-dump
 private void A(h2 h, int num)
 {
     h.B(new P1 <h2> .a(this.A));
     h.E(new h2.a(this.A));
     h.E().B(new W1 <p1> .a(this.A));
     h.E().C(new W1 <p1> .a(this.a));
     h.E().D(new W1 <p1> .a(this.A));
     h.E().F(new W1 <p1> .a(this.B));
 }
コード例 #25
0
 public static void A(Form owner, h2 h, p1 p)
 {
     if (u1.A(h))
     {
         h.d(DateTime.Now);
         u1 u = u1.A();
         u.A(h, p);
         u.ShowDialog(owner);
     }
 }
コード例 #26
0
ファイル: V1.cs プロジェクト: hakanaku2009/svn-dump
        private void A(h2 h, int num)
        {
            B2 b = new B2();

            b.Dock = DockStyle.Fill;
            b.Tag  = h;
            this.A.Add(h, b);
            b.A(h);
            b.A(new B2.A(this.A));
            this.A();
        }
コード例 #27
0
        public static bool A(h2 h, p1 p, ref byte[] ptr)
        {
            q1 q = q1.A();

            if (q.a(h))
            {
                return(false);
            }
            ptr = j2.A(p);
            return(ptr != null && ptr.Length > 0);
        }
コード例 #28
0
ファイル: T.cs プロジェクト: hakanaku2009/svn-dump
 public void A(h2 h, e2 e)
 {
     this.A = h;
     this.A = e;
     if (e.L().J())
     {
         this.d();
         return;
     }
     this.D();
 }
コード例 #29
0
        public void A(h2 h)
        {
            this.A = h;
            bool flag = R.A(this.a);

            this.D();
            bool flag2 = h != null && !h.F();

            this.A.A(flag2);
            this.a.A(flag2 && flag);
            this.b();
        }
コード例 #30
0
ファイル: D2.cs プロジェクト: hakanaku2009/svn-dump
        private void D(object obj, EventArgs eventArgs)
        {
            h2 h = this.A.A();
            e2 e = (e2)this.A.A();

            if (h != null)
            {
                T.A().A(h, e);
                return;
            }
            T.A().d();
        }