Пример #1
0
 internal void method_1(StreamingContext streamingContext_0)
 {
     if (!string.IsNullOrEmpty(this.LoginKey))
     {
         this.LoginKey = Class213.smethod_1(this.LoginKey, "hbseckey");
     }
 }
Пример #2
0
        protected void NotifyPropertyChanged <TExp>(Expression <Func <TExp> > expression)
        {
            Class213 <TExp> class2 = new Class213 <TExp>
            {
                notificationObject_0 = this,
                string_0             = smethod_0 <TExp>(expression)
            };

            if (Application.Current != null)
            {
                Application.Current.Dispatcher.BeginInvoke(new Action(class2.method_0), Array.Empty <object>());
            }
        }
Пример #3
0
    private float method_20(string A_0)
    {
        SizeF ef4   = (this.sprᝪ_0 != null) ? this.sprᝪ_0.ᜃ(A_0) : this.graphics_0.MeasureString(A_0, this.font_0, new SizeF(float.MaxValue, float.MaxValue), this.stringFormat_0);
        float width = ef4.Width;

        if ((this.interface1_0 != null) && (this.interface1_0 is TextRange))
        {
            TextRange range = this.interface1_0 as TextRange;
            if (range.IsBalanceWidthCharOfSingleByteAndDoubleByte)
            {
                width = this.method_0().method_323(range, A_0).Width;
            }
            else
            {
                Class560 class2 = ((Interface11)range.CharacterFormat).imethod_0() as Class560;
                if (class2.method_13())
                {
                    width = this.method_0().method_323(range, A_0).Width;
                }
                else if (class2.method_14())
                {
                    width = this.method_0().method_323(range, A_0.ToUpper()).Width;
                }
                if ((class2.method_15() != 1f) && (class2.method_15() > 0f))
                {
                    width *= class2.method_15();
                }
                if (class2.method_16() != 0f)
                {
                    width = this.method_0().method_244(width, A_0.Length, class2.method_16());
                }
            }
            if (((range.StartPos == 0) && (A_0 == range.Text)) && (range.OwnerParagraph != null))
            {
                Class213 class3 = ((Interface1)range.OwnerParagraph).imethod_0() as Class213;
                width += class3.method_69();
            }
        }
        if (((width == 0.0) && !this.bool_0) && (A_0.Length > 1))
        {
            width = (this.sprᝪ_0 != null) ? ((float)this.method_7(A_0, this.sprᝪ_0).Width) : ((float)this.method_6(A_0, this.font_0).Width);
        }
        return(width);
    }
 public abstract void Visit(Class213 c);
 public override void Visit(Class213 c) { }
Пример #6
0
 Class533 class3 = new Class533(Class213.smethod_0(class.playModes_0), 24f, vector + new Vector2(num3 + 10f, num3 / 2f), 0.992f, true, Color.get_TransparentWhite());