C# Making an alarm program with (Make your own alarm)

in #utopian-io7 years ago (edited)

Türkçe
Merhaba arkadaşlar bugün, size çok kolay bir şekilde yapabileceğiniz bir alarm programı hazırlamayı size anlatacağım.
English
Hello friends today, I will tell you how to prepare an alarm program that you can do very easily.


Türkçe
Önce Microsoft Visual Studio programını açıp bir form oluşturduk
English
First we open the microsoft visual studio program and create a form

1.png


Türkçe
Formu oluşturduktan sonra formda 2 label koyduk, 1 textbox ve 2 timer
English
After creating the form, we put 2 labels in the form, 1 text box and 2 timer
(Label1 Name = 00 name, Label2 Name = Alarm Clock)
2.png


Türkçe
Ardından formumuzun kod ekranına gidiyoruz.
Burada öncelikle yapmamız gereken medya kütüphanesini tanımlıyoruz.
English
Then we go to the code screen of our form.
Here we define the media library we need to do first.
2-2.png


Türkçe
Bunu tanımladıktan sonra, form ekranımıza geri dönüyoruz ve alt taraftaki timer1'i bir kez tıklıyoruz.
Bunu görüntü de kigibi yapıyoruz. Interval : 1000 ve Enable : True.
(ve biz de timer2'de aynısını yapıyoruz)
English
Once we have defined it, we return to our form screen and click once on the timer1 at the bottom.
We do it like we did in the picture. Interval : 1000 and Enable : True.
(and we do the same on timer 2)
3-3.png


Türkçe
Daha sonra timer1 ve timer2'yi çift tıklayın ve aşağıdaki kodları yazın

English
Then double-click timer 1 and timer 2 and write down the codes below
3.png

private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = DateTime.Now.ToLongTimeString();
}

    private void timer2_Tick(object sender, EventArgs e)
    {
        if(textBox1.Text==label1.Text)
        {
            SoundPlayer sound = new SoundPlayer();
            sound.SoundLocation = "ding.wav"; 
            sound.Play();
            MessageBox.Show("Alarm Time");
        //ding.wav name and extension of the song played by the alarm - alarm tarafından çalınan şarkının adı ve uzantısı
        }

Türkçe
çalmak istediğiniz şarkıyı oluşturduğunuz klasörün içindeki bin / debug klasörüne gidin
English
to the bin / debug folder inside the folder where you created the song you want to play
5.png


Türkçe
Sonuç Kendi programınızı yazmışsınızdır. Tebrik ederim.
English
Conclusion You wrote your own program. Congratulations
6.png


Türkçe
Böyle çalışarak kendinizi geliştirebilirsiniz.
English
By working like this, you can improve yourself


https://github.com/ShanksTaicho/AlarmProgram



Posted on Utopian.io - Rewarding Open Source Contributors


Sort:  

The @OriginalWorks bot has determined this post by @shankstaicho to be original material and upvoted it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

hemen deniyorum teşekkürler :) <3

abi sen hackermısın ya cok akıllısın

mükemmelsin abi sen ya .

eline sağlık çok bilgilendirici :)

Eyvallah bro ne demek :D

Your contribution cannot be approved yet. See the Utopian Rules. Please edit your contribution to reapply for approval.

  • You submitted your contribution in "development" category but your text is written in a tutorial like style - If you want it to be a tutorial, please change the category.
  • development contributions are only allowed in English - if you want to stick with development, please remove any non-English text
  • your GitHub link at the end of the contribution is broken
  • your GitHub repository contains only binary files and no license
  • there are various C# alarm clock implementations already published - make sure to point out how your implementation is different from existing tools and why another implementation was needed.

You may edit your post here, as shown below:

You can contact us on Discord.
[utopian-moderator]

Hello @crokkon again reviewing the article I have fixed the errors you stated .

Dear @shankstaicho,

you addressed only one of issue. Here are the remaining issues:

  • you submitted your contribution in "development" category but your text is written in a tutorial like style - If you want it to be a tutorial, please change the category.
  • development contributions are only allowed in English - if you want to stick with development, please remove any non-English text
  • your GitHub link at the end of the contribution is broken
  • there are various C# alarm clock implementations already published - make sure to point out how your implementation is different from existing tools and why another implementation was needed.

Sir @crokkon , I thought it was instructive and changed the category, please check again.

Your contribution is still in "development" category.

  • You submitted your contribution in "development" category but your text is written in a tutorial like style - This is not appropriate for development contributions
  • your GitHub link at the end of the contribution is broken
  • your repository still contains no license
  • there are various C# alarm clock implementations already published - make sure to point out how your implementation is different from existing tools and why another implementation was needed.

Please address all issues above before requesting another review.

sir @crokkon , I corrected the article, but it was a problem and it returned to its former state, but now I have reorganized and changed it.

@crokkon I moved to the tutorial category , I think it would be more useful in this category.

Dear @shankstaicho,
I'm sorry, but I'm rejecting your contribution at this point. You barely addressed any of the remarks. The repository is not correct anymore as a tutorial and the content is lacking a lot of details and explanations for a tutorial. Your contribution would still need a lot of work to be quality-wise on the level of other tutorials and is even then not providing much value content-wise. For good tutorial contributions see for example those from @scipio.

No, I did not do it barely, but I corrected it via steemit, so I did not register, so I apologize for your wrongdoing, but I corrected it again

I know I made you busy too I apologize please will you think again @crokkon :) <3

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 60699.39
ETH 2655.06
USDT 1.00
SBD 2.59