this part od codes what say?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: this part od codes what say?

  1. #1
    Join Date
    Dec 2013
    Posts
    1

    this part od codes what say?

    Hi,
    i'm not familiar with visual c#! i have a program source! i want to know what says this part of codes:
    Code:
    private void PBOk_Click(object eventSender, EventArgs eventArgs)
    {
        if (Strings.Len(Strings.Trim(this.EnCode.Text)) == 0)
        {
            Interaction.MsgBox("A registration code must be entered.", MsgBoxStyle.ApplicationModal, MODULE11.Security.Title);
        }
        else
        {
            string str2;
            string str3;
            string str4;
            string str5;
            string[] strArray;
            this.EnCode.Text = this.EnCode.Text.Trim();
            string s = "";
            short num2 = (short) Strings.Len(this.EnCode.Text);
            for (short i = 1; i <= num2; i = (short) (i + 1))
            {
                if (Strings.Mid(this.EnCode.Text, i, 1) != "-")
                {
                    s = s + Strings.Mid(this.EnCode.Text, i, 1);
                }
            }
            if (this.AddModule)
            {
                if (MODULE11.Security.AddModule(s))
                {
                    Interaction.MsgBox("Thank you for purchasing. Please restart " + MODULE11.Security.Title + " for the changes to take place.", MsgBoxStyle.ApplicationModal, MODULE11.Security.Title);
                    this.Register = true;
                    this.Close();
                }
                else
                {...

  2. #2
    Join Date
    Apr 1999
    Posts
    27,434

    Re: this part od codes what say?

    Quote Originally Posted by irandoct View Post
    Hi,
    i'm not familiar with visual c#!
    So why did you post in a Visual C++ forum?

    Regards,

    Paul McKenzie

  3. #3
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,051

    Re: this part od codes what say?

    [ Redirected thread ]
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  4. #4
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,527

    Re: this part od codes what say?

    Quote Originally Posted by irandoct View Post
    i want to know what says this part of codes:
    This code says that its coder didn't know how to use strings in C#.
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinViewer - an integrated GDI objects viewer for Visual C++ Debugger, and more...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center