예제 #1
0
 void Interface1.Draw(Class196 dc, Class375 ltWidget)
 {
     if ((!this.Name.StartsWith(BookmarkStart.b("礥", 0)) && (dc.method_149() != null)) && dc.method_149().Name.Equals(this.Name))
     {
         dc.method_149().IsDrawComplete = true;
         dc.method_150(dc.method_149().Owner);
     }
 }
예제 #2
0
        void Interface1.Draw(Class196 dc, Class375 ltWidget)
        {
            int num = 8;

            if (!this.Name.StartsWith(b("焭", 8)))
            {
                BookmarkLevel item = new BookmarkLevel {
                    Name             = this.Name,
                    IsPair           = false,
                    TargetBounds     = ltWidget.method_69(),
                    TargetPageNumber = dc.method_16()
                };
                if (dc.method_149() != null)
                {
                    if (!dc.method_149().IsDrawComplete&& !dc.method_149().ChildObjects.Contains(item))
                    {
                        dc.method_149().method_0(item);
                        dc.method_150(item);
                        BookmarkLevelEventArgs args2 = new BookmarkLevelEventArgs {
                            BookmarkLevel = item,
                            BookmarkStart = this
                        };
                        base.Document.method_21(args2);
                    }
                }
                else if (!dc.method_147().Contains(item))
                {
                    dc.method_147().Add(item);
                    dc.method_150(item);
                    BookmarkLevelEventArgs args = new BookmarkLevelEventArgs {
                        BookmarkLevel = item,
                        BookmarkStart = this
                    };
                    base.Document.method_21(args);
                }
                this.method_31(dc, ltWidget, item);
            }
            else if (this.Name.ToLower().StartsWith(b("焭䐯崱圳", num)))
            {
                this.method_31(dc, ltWidget, null);
            }
        }