-
December 6th, 2013, 08:59 AM
#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
{...
-
December 6th, 2013, 09:46 AM
#2
Re: this part od codes what say?
Originally Posted by irandoct
Hi,
i'm not familiar with visual c#!
So why did you post in a Visual C++ forum?
Regards,
Paul McKenzie
-
December 6th, 2013, 09:49 AM
#3
Re: this part od codes what say?
-
December 6th, 2013, 10:02 AM
#4
Re: this part od codes what say?
Originally Posted by irandoct
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:
FeinWindows - replacement windows manager for Visual Studio, 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|