Search
×

Sign up

Use your Facebook account for quick registration

OR

Create a Shvoong account from scratch

Already a Member? Sign In!
×

Sign In

Sign in using your Facebook account

OR

Not a Member? Sign up!
×

Sign up

Use your Facebook account for quick registration

OR

Sign In

Sign in using your Facebook account

Shvoong Home>Internet & Technology>Software>Matrix Source Code for C# , Free Review

Matrix Source Code for C# , Free

Academic Paper Review   by:nikola82     Original Author: Nikola Lukic zlatnaspirala@yahoo.com
ª
 
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Shapes3d;
namespace profesorServer2
{
public partial class matrix : Form
{
public matrix()
{
InitializeComponent();
}

private int Treperenje = 0;

private int Vel = 8;

private void timer1_Tick(object sender, EventArgs e)
{
Treperenje++;

if (Treperenje > 8)
{
// Font F = new Font("Arial", Vel );
// label30.Font = F;

// Treperenje = 0;

// Vel = 8;
}

label30.Refresh();
if (Treperenje > 4)
{
// Font F = new Font("Arial", Vel );

// Vel = 9;
// label30.Font = F;
// label30.Refresh();

}

listBox12.Top = listBox12.Top - 10;
listBox11.Top = listBox11.Top + 10;
listBox13.Top = listBox13.Top + 10;
listBox14.Top = listBox14.Top - 10;
listBox15.Top = listBox15.Top + 10;

listBox2.Top = listBox2.Top - 10;
listBox1.Top = listBox1.Top + 10;
listBox3.Top = listBox3.Top + 10;
listBox4.Top = listBox4.Top - 10;
listBox5.Top = listBox5.Top + 10;
listBox6.Top = listBox6.Top - 10;
listBox7.Top = listBox7.Top + 10;
listBox8.Top = listBox8.Top - 10;
listBox9.Top = listBox1.Top - 10;
listBox10.Top = listBox10.Top - 10;

if (listBox1.Top > 0)
{
listBox2.Top = 0;
listBox8.Top= 0;
listBox9.Top = 0;
listBox10.Top = 0;
listBox12.Top = 0;
listBox13.Top = 0;
listBox14.Top = 0;
listBox15.Top = 0;
listBox11.Top = -400;

listBox1.Top = -300;
listBox3.Top = -300;

listBox4.Top = 900;
listBox5.Top = -300;
listBox6.Top = 0;
listBox7.Top = -300;
}
if (label1.Left < -800)
{

label1.Left = -30;
label2.Left = -30;
label3.Left = -30;
label4.Left = -30;
label5.Left = -30;
label6.Left = -30;
label7.Left = -30;
label8.Left = -30;
label9.Left = -30;
label10.Left = -30;
label11.Left = -30;
label12.Left = -30;
label13.Left = -30;
label14.Left =-30;
label15.Left = -30;
label16.Left = -30;
label17.Left = -30;
label18.Left = -30;
label19.Left = -30;
label20.Left = -1200;
label21.Left = -1200;
label22.Left = -1200;
label23.Left = -1200;
label24.Left = -1200;
label25.Left = -1200;
label26.Left = -1200;
label27.Left = -1200;
label28.Left = -1200;
label29.Left = -1200;

label31.Left = -12;
label32.Left = -12;
label33.Left = -12;
label34.Left = -1200;
label35.Left = -1200;
label36.Left = -1200;
label37.Left = -1200;
label38.Left = -1200;
label39.Left = -1200;
label40.Left = -1200;

}

label1.Left = label1.Left - 20;
label2.Left = label1.Left - 20;
label3.Left = label1.Left - 20;
label4.Left = label1.Left - 20;
label5.Left = label1.Left - 20;
label6.Left = label1.Left - 20;
label7.Left = label1.Left - 20;
label8.Left = label1.Left - 20;
label9.Left = label1.Left - 20;
label10.Left = label1.Left - 20;
label11.Left = label1.Left - 20;
label12.Left = label1.Left - 20;
label13.Left = label1.Left - 20;
label14.Left = label1.Left - 20;
label15.Left = label1.Left - 20;
label16.Left = label1.Left - 20;
label17.Left = label1.Left - 20;
label18.Left = label1.Left - 20;
label19.Left = label1.Left - 20;
label20.Left = label20.Left + 20;
label21.Left = label21.Left + 20;
label22.Left = label22.Left + 20;
label23.Left = label23.Left + 20;
label24.Left = label24.Left + 20;
label25.Left = label25.Left + 20;
label26.Left = label26.Left + 20;
label27.Left = label27.Left + 20;
label28.Left = label28.Left + 20;
label29.Left = label29.Left + 20;

label31.Left = label31.Left - 20;
label32.Left = label32.Left - 20;
label33.Left = label33.Left - 20;
label34.Left = label34.Left + 20;
label35.Left = label35.Left + 20;
label36.Left = label36.Left + 20;
label37.Left = label37.Left + 20;
label38.Left = label38.Left + 20;
label39.Left = label39.Left + 20;
label40.Left = label40.Left + 20;
}

private void label20_Click(object sender, EventArgs e)
{

}

private void matrix_Load(object sender, EventArgs e)
{

Form1 nik10 = new Form1();

nik10.ShowDialog();

}
private void button1_Click(object sender, EventArgs e)
{
this.Hide();

}
}
}
Published: June 27, 2010   
Please Rate this Review : 1 2 3 4 5
Translate Send Link Print
X

.