using System.Windows.Forms;
namespace PcDr
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
timer1.Start();
}
// 1
private void button5_Click(object sender, EventArgs e)
{
DialogResult tıklanan;
tıklanan = MessageBox.Show("PROGRAMDAN ÇIKMAK İSTEDİĞİNİZDEN EMİNMİSİNİZ?", "PCDR KONTROL MERKEZİ...!", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (tıklanan == DialogResult.Yes)
Application.Exit();
}
// 2
private void button2_Click_1(object sender, EventArgs e)
{
Form2 pcdr = new Form2();
pcdr.Show();
this.Hide();
}
// 3
private void pictureBox1_Click(object sender, EventArgs e)
{
progressBar1.Minimum = 0;
progressBar1.Maximum = 100000;
for (int i = 0; i < 100000; i++)
{
progressBar1.Value = i;
}
RibbonForm2 pcdr = new RibbonForm2();
pcdr.Show();
this.Hide();
}
// 4
string pcdr = ">>> PcDr <<< <<< Hasan ÇOBANOĞLU >>> <<< E-Posta: pcdrsysdba@gmail.com>>> ";
private void timer1_Tick(object sender, EventArgs e)
{
pcdr = pcdr.Substring(1) + pcdr3.Substring(0, 1);
textBox1.Text = pcdr;
}
// 1 >>> Kontrollü Çıkış Butonu...!
// 2 >>> Formlar Arası Geçiş...!
// 3 >>> ProgressBar Kullanımı...!
// 4 >>> Timer İle Kayan Yazı...!
|