d оПрограммеToolStripMenuItem2_Click (object sender, EventArgs e)
{. Show ();
}
}
}
Текст
Kyrsach 4
{partial class Form2: Form
{int i = 0; bool flag; bool enter = false; System.Timers.Timer aTimer = new System.Timers.Timer (); cyber = new Bitmap (@ "Data pic3. png "); cyber2 = new Bitmap (@" Data pic4.png "); b_back = new Bitmap (@" Data buttons back.png "); Form2 ()
{();. Interval = 100;. Elapsed + = new ElapsedEventHandler (OnTimedEvent);. Start ();. BackgroundImage = b_back;. BackgroundImage = b_back;
} void OnTimedEvent (object source, ElapsedEventArgs e)
{
// label1.Text + = ".";
. Image = flag == true? cyber: cyber2; =! flag;
. Interval + = 100; (i == 5)
{. Interval = 800;
} (i == 10)
{. Image = cyber;. Stop ();
} (i <10)
{. Image = flag == true? cyber: cyber2;
} + +;
} void button1_Click (object sender, EventArgs e)
{=! enter;. Close ();
}
void button2_Click (object sender, EventArgs e)
{. Close ();
}
}
}
Текст Form3.cs
using
Kyrsach 4
{partial class Form3: Form
{k = new Bitmap (@ "Data about.png"); Form3 ()
{();. BackgroundImage = k;. SetStyle (ControlStyles.Opaque, true);. SetStyle (ControlStyles.SupportsTransparentBackColor, true);. BackColor = Color.Transparent;
}
void pictureBox1_MouseClick (object sender, MouseEventArgs e)
{. Hide ();
}
void pictureBox1_MouseEnter (object sender, EventArgs e)
{. Cursor = Cursors.Hand;
}
}
}
Текст Form4.cs using
{partial class Form4: Form
{object date; float x; float temp; float y; string oper = ""; ArrayList memory = new ArrayList (); bool flag = false; Form4 ()
{();. Enabled = false;. Maximum = -1;
}
void button13_Click (object sender, EventArgs e)
{= true; = textBox1.Text;
. Text = "";
. Hide ();