merhaba TürkHackTeam ailesi sizlere yaptığım alarm programını göstermek isterim inşallah beğenirsiniz;
[/url][/IMG]
[/url][/IMG]
programın kodları;
program ve C# dosyası ;
virüstotal: https://www.virustotal.com/#/file/f...dab8031795cdf2a71fb04ee50a0641281f9/detection
[/url][/IMG]
indirme sitesi doya tc : Dosya.tc - Ücretsiz, Hızlı ve Kolay Dosya Paylaşımı
yanlışlarım olduysa affola bir liseli olarak elimden bu geliyor
beğendiyseniz teşekkür ederseniz sevinirim
önerlielere ve eleştrilere gelişmem adına açığım hayırlı akşamlar TürkHackTeam ailesi;
![1JjLEj.png](http://[url=https://hizliresim.com/1JjLEj][img]https://i.hizliresim.com/1JjLEj.png)
![4MlkWq.gif](https://i.hizliresim.com/4MlkWq.gif)
![qG9baB.png](http://[url=https://hizliresim.com/qG9baB][img]https://i.hizliresim.com/qG9baB.png)
![4MlkWq.gif](https://i.hizliresim.com/4MlkWq.gif)
programın kodları;
Kod:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Media;
namespace alarm_projesi__by_BOZKURT
{
public partial class Form1 : Form
{
System.Media.SoundPlayer ses = new System.Media.SoundPlayer();
public Form1()
{
InitializeComponent();
}
int Deneme;
string Temp;
private **** Form1_Load(object sender, EventArgs e)
{
timer1.Start();
comboBox1.Items.Add("5dk erteleme");
comboBox1.Items.Add("10dk erteleme");
comboBox1.Items.Add("15dk erteleme");
textBox1.Text = DateTime.Now.ToShortDateString();
textBox2.Text = DateTime.Now.ToLongTimeString();
timer2.Enabled = false;
timer1.Enabled = false;
timer2.Interval = 100;
timer1.Interval = 1000;
Text = "Alarm Kapalı";
}
private **** button1_Click(object sender, EventArgs e)
{
listBox1.Items.Add(textBox2.Text);
timer1.Enabled = true;
this.Text = "Alarm Açık";
}
private **** timer1_Tick(object sender, EventArgs e)
{
label5.Text = DateTime.Now.ToLongTimeString();
if (textBox1.Text == DateTime.Now.ToShortDateString() && textBox2.Text == DateTime.Now.ToLongTimeString())
{
timer2.Enabled = true;
ses.Sound******** = "Telefon Zil sesleri.wav";
ses.Play();
MessageBox.Show(textBox3.Text, "Alarm", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private **** timer2_Tick(object sender, EventArgs e)
{
Color c;
c = textBox3.BackColor;
textBox3.BackColor = textBox3.ForeColor;
textBox3.ForeColor = c;
}
private **** button2_Click(object sender, EventArgs e)
{
ses.Stop();
this.Text = "Alarm Kapalı";
}
private **** çıkışToolStripMenuItem_Click(object sender, EventArgs e)
{
Application.ExitThread();
}
private **** gösterToolStripMenuItem_Click(object sender, EventArgs e)
{
this.Show();
notifyIcon1.Visible = false;
}
private **** Form1_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
notifyIcon1.Visible = true;
this.Hide();
}
private **** button3_Click_1(object sender, EventArgs e)
{
timer2.Start();
}
private **** hakkındaToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("programın yazarı BARAN DAŞDEMİRDİR yazılış amacı sabahları uyandırmak için bir alarm sistemi");
}
private **** comboBox1_MouseClick(object sender, MouseEventArgs e)
{
if (comboBox1.SelectedIndex ==0)
{
Deneme = 5;
Temp = textBox2.Text = DateTime.Now.AddMinutes(5).ToString("HH:mm:ss");
timer1.Enabled = true;
ses.Stop();
}
else if (comboBox1.SelectedIndex == 1)
{
Deneme = 10;
Temp = textBox2.Text = DateTime.Now.AddMinutes(10).ToString("HH:mm:ss");
timer1.Enabled = true;
ses.Stop();
}
else if (comboBox1.SelectedIndex == 2)
{
Deneme = 15;
Temp = textBox2.Text = DateTime.Now.AddMinutes(15).ToString("HH:mm:ss");
timer1.Enabled = true;
ses.Stop();
}
}
}
}
![4MlkWq.gif](https://i.hizliresim.com/4MlkWq.gif)
program ve C# dosyası ;
virüstotal: https://www.virustotal.com/#/file/f...dab8031795cdf2a71fb04ee50a0641281f9/detection
![8YmdXa.png](http://[url=https://hizliresim.com/8YmdXa][img]https://i.hizliresim.com/8YmdXa.png)
[/url][/IMG]
![4MlkWq.gif](https://i.hizliresim.com/4MlkWq.gif)
indirme sitesi doya tc : Dosya.tc - Ücretsiz, Hızlı ve Kolay Dosya Paylaşımı
yanlışlarım olduysa affola bir liseli olarak elimden bu geliyor
önerlielere ve eleştrilere gelişmem adına açığım hayırlı akşamlar TürkHackTeam ailesi;
Son düzenleme: