using System;
using ;
using ;
using ;
using ;
using ;
using ;
using ;
namespace WindowsApplication2
{
/// <summary>
/// Summary description of Form1.
/// </summary>
public class Form1 :
{
private button1;
private progressBar1;
private progressBar2;
private textBox1;
private textBox2;
/// <summary>
/// Required designer variables.
/// </summary>
private components = null;
public Form1()
{
//
// Required for Windows Form Designer Support
//
InitializeComponent();
//
// TOD Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean all resources in use.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
();
}
}
( disposing );
}
#region Code generated by Windows Form Designer
/// <summary>
/// The method required for designer support - Do not use the code editor to modify
/// The content of this method.
/// </summary>
private void InitializeComponent()
{
this.button1 = new ();
this.progressBar1 = new ();
this.progressBar2 = new ();
this.textBox1 = new ();
this.textBox2 = new ();
();
//
// button1
//
this. = new (160, 184);
this. = "button1";
this. = 1;
this. = "button1";
this. += new (this.button1_Click);
//
// progressBar1
//
this. = false;
this. = new (32, 16);
this. = "progressBar1";
this. = new (336, 32);
this. = 2;
//
// progressBar2
//
this. = new (32, 72);
this. = "progressBar2";
this. = new (328, 24);
this. = 3;
//
// textBox1
//
this. = new (48, 136);
this. = "textBox1";
this. = 4;
this. = "100";
//
// textBox2
//
this. = new (216, 136);
this. = "textBox2";
this. = 5;
this. = "100";
//
// Form1
//
= new (6, 14);
= ;
= new (408, 222);
(this.textBox2);
(this.textBox1);
(this.progressBar2);
(this.progressBar1);
(this.button1);
= "Form1";
= "Form1";
(false);
}
#endregion
/// <summary>
/// The main entry point of the application.
/// </summary>
[STAThread]
static void Main()
{
(new Form1());
}
private void button1_Click(object sender, e)
{
int outLoop = ();
int innerLoop = ();
for (int i=1;i<=outLoop;i++)
{
for (int j=i;j<=innerLoop;j++)
{
if (j%10 == 0)
{
= j;
(100);
}
}
= i;
}
}
}
}