C# - Custom Notification Form in WinForm App C#

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • Hey Friends, This is SaLaaR HuSyN, Coming back with another video, In this tutorial, we'll learn how to design a custom Alert / Message box in windows forms application Visual C#.
    Download Icons App:
    codeinpc.com/t...
    ++++++++++++++++++++++++++++++++++++++++++++
    Download Source Code:
    codeinpc.com/c...
    ++++++++++++++++++++++++++++++++++++++++++++
    Support Me on Patreon:
    / salaarhusyn
    ++++++++++++++++++++++++++++++++++++++++++
    For Android Ui Tutorials, Please Subscribe to Our Channel Android Ui Academy:
    / @androiduiacademy6689
    ++++++++++++++++++++++++++++++++++++++++++++
    if You Have any Query, feel free to contact Us on Facebook:
    / csharpuiacademy
    ++++++++++++++++++++++++++++++++++++++++++++
    Please Subscribe for more Videos

Комментарии • 135

  • @AriVenuth
    @AriVenuth 4 года назад +21

    Very good!!!
    👏🏼👏🏼👏🏼
    However, it is necessary to adjust the TopMost property of the form that presents the message, so that it will always be visible ...

    • @ashvinbhuttoo
      @ashvinbhuttoo 4 года назад +5

      Your comment is now topmost ;-)

    • @Techinmylife
      @Techinmylife 4 года назад

      Great 👍

    • @sampathkumar3405
      @sampathkumar3405 4 года назад

      what is that topmost property??
      I've used this method but my alert is opening as a window minimized

    • @NewbieTetris
      @NewbieTetris 2 года назад +2

      Hi, aside from setting the Top Most property to true, you can also set the "Show on Task Bar" property to false to make it look like you are not opening another form. :)

    • @quillestan3634
      @quillestan3634 2 года назад

      I already set the topmost true but it still does not work

  • @Daniel-lf1st
    @Daniel-lf1st 4 года назад +4

    Finally i found straight to the point tutorials with more coding And less talking. Keep it up.

  • @im_d_t_sl7380
    @im_d_t_sl7380 4 года назад +1

    thank you so much for help ... I love all yours Tutorials ... I don't know why people don't like yours tutorials ... 💕💕💕

  • @aakashmaurya6678
    @aakashmaurya6678 4 года назад +2

    Don't know how to say, but this videos are really awesome and I am loving it. Greatly done and demonstrated. Thanks for this..

  • @457Deniz457
    @457Deniz457 4 года назад +7

    Nice song and highly usefull tutorial ! #THANKS ! :)

  • @Speedstackingboy251
    @Speedstackingboy251 4 года назад

    Your channel helps us developers more inspired to devolop I salute your designs and I'm inspired keep it up

  • @JeffersonNeto
    @JeffersonNeto 4 года назад +4

    Just what I needed! Thank you!

  • @smorodya74
    @smorodya74 4 года назад +1

    Я очень плохо знаю английский язык, однако ты очень крутой
    Спасибо тебе большое, благодаря тебе я сделал курсовую работу на третьем курсе, на четвертом, а сейчас мне предстоит написать дипломную работу
    Без тебя я был бы сейчас не я)

  • @nirajzambad7142
    @nirajzambad7142 4 года назад +1

    Come on man, how innovative it is.....wow

  • @enowdalintin8986
    @enowdalintin8986 3 месяца назад

    Great work sir

  • @hk-four-sixteen
    @hk-four-sixteen 3 года назад +5

    Wow this is what I'm looking for. Can I use it for our school project? [Thanks in advance]

  • @1222guilherme
    @1222guilherme 4 года назад +1

    Very good men, keep make videos on C# pls

  • @tuantrananh466
    @tuantrananh466 3 года назад

    Thanks, @C# Ui Academy you save my time

  • @xHacker-mf5ll
    @xHacker-mf5ll 2 года назад +1

    Thanks :)

  • @ShareKnowledge76
    @ShareKnowledge76 11 месяцев назад +1

    Great Job ! 👍

  • @42Blake_
    @42Blake_ 4 года назад

    yo thanks so much the image app helps alot, you earned yourself a like and a sub

  • @miteshjadav87
    @miteshjadav87 4 года назад +1

    Brilliantly done 👍

  • @twitchizle
    @twitchizle 4 года назад +2

    Thank youu. Working very well.

  • @ertugrulgazi448
    @ertugrulgazi448 2 года назад +1

    bro that is wonderful!!! return "thanks a lot !!!";

  • @brilliantthoughts1305
    @brilliantthoughts1305 4 года назад +2

    Very useful !😍😍

  • @philipm1896
    @philipm1896 4 года назад +2

    Very nice.

  • @iucc2833
    @iucc2833 3 года назад +1

    Song name is: Landscape - Jarico

  • @Sixthflyer
    @Sixthflyer 4 года назад +1

    Great! Very useful, thank you very much

  • @NabilAlrabooie
    @NabilAlrabooie 2 года назад +1

    Thank you very much

  • @AldiPratama-lg9xf
    @AldiPratama-lg9xf 4 года назад +1

    good work my friend

  • @umarshah5113
    @umarshah5113 3 года назад +1

    Awesome Brooo

  • @MKRLyrics
    @MKRLyrics 4 года назад +2

    Love your videos. I would love to take your course if you teach on Udemy.

  • @user-yo7mw6oj4p
    @user-yo7mw6oj4p 4 года назад +1

    Большое спасибо. Очень классный урок )))

  • @Floppic
    @Floppic Год назад +1

    Very nice tutorial!
    I have added a line limit. So it looks a little better if the text too long.
    if (msg.Length >= "line limit")
    {
    string msgShort = msg.Substring(0, "line limit");
    msg = msgShort + "...";
    }
    this.lblMsg.Text = msg;

  • @Nk_flim
    @Nk_flim 4 года назад +1

    Awesome its very helpful to me

  • @kevindelacruzcamayo6142
    @kevindelacruzcamayo6142 2 года назад +1

    thank you so much for help

  • @lidiocortez6354
    @lidiocortez6354 4 года назад +2

    THANKS

  • @hunterwright3062
    @hunterwright3062 3 года назад

    found this for the Knowledge, replayed this for the music lmao

  • @enowdalintin8986
    @enowdalintin8986 3 месяца назад

    Pls is can u help with how you can start closing the notification from the top and adding new ones in the bottom instead I think it will be more organized.i have not been able to adjust that

  • @dhtlucky1984
    @dhtlucky1984 4 года назад +1

    Good job. Thanks so much!

  • @robledes
    @robledes 4 года назад +1

    Great!... as always

  • @mohnasser8229
    @mohnasser8229 4 года назад +2

    I love you so much ❤💙💖💕💓💜💛💚💗💘💝💞💟👍

  • @nattawutsesamutdam7719
    @nattawutsesamutdam7719 4 года назад +4

    That Cool Bro!!!

  • @SankizTime
    @SankizTime 4 года назад +2

    Amazing bro!!you are great!\

  • @BahawalTV
    @BahawalTV 4 года назад +1

    Nice video. Thanks.

  • @RidwanGhibran
    @RidwanGhibran 2 года назад

    it's working fine and awesome.. now, how to get it to work inside forms environment ?

  • @assoftpro
    @assoftpro 2 года назад

    nice work 👏👏👏👏👏

  • @PhuongNguyen-hy8uf
    @PhuongNguyen-hy8uf Год назад

    Great design!! Btw, ShowInTaskbar should be disabled but thanks a lot anyway.

  • @erwindangan1544
    @erwindangan1544 4 года назад +1

    That's amazing boss your so good

  • @ashvinbhuttoo
    @ashvinbhuttoo 4 года назад

    Great tutorial, thanks!

  • @princejacob9681
    @princejacob9681 3 года назад

    thanks

  • @abhinavpandey2185
    @abhinavpandey2185 2 года назад +2

    In my case, when the for loop runs for the first time (0th time) the Y location is given WorkingArea.Height - this.Height * i (that is 0) making it positioned behind the taskbar. is there anything I'm missing? or should I start the loop with 1?

    • @abhinavpandey2185
      @abhinavpandey2185 2 года назад +2

      Just tested after modifying the loop as "i=1;i

  • @user-lt4ke2dk4b
    @user-lt4ke2dk4b 4 года назад +1

    Goooodddd

  • @YarisTex
    @YarisTex Год назад

    Would be amazing if this would work sending those into a remote computer

  • @lakra4k
    @lakra4k 4 года назад

    Very Cool! Thanks💖

  • @taktstorerofficial
    @taktstorerofficial 4 года назад +1

    Well i´m not sure how this could going on:
    i´m opening an alert, after i open the alert i open an messagebox with if-statement and waiting for the user-interact. At this point where the alert is going away my full programm is closing.
    Someone else has this problem too?
    So:
    1. Call an Alert
    2. Call MessageBox in IF statement with dialogresult
    3. Let MessageBox open until the Alert fades away
    4. Your Program will close
    I would be very happy for some help.
    Best Regards :)
    EDIT:
    The Program closes at mine version because i say in my IF statement if(dialog = ok)...else(enviroment.exit(0))
    So i saw now when the alert is closing it closes also other messageboxes, like an internal code-error.
    So the problem is: alert closes = other messagebox close too

  • @Maximus-ed4ef
    @Maximus-ed4ef 4 года назад +1

    Hi can I request if you can make this on wpf? If yes it would be cool!

  • @phanmemphilong
    @phanmemphilong 3 года назад

    Video is great.
    Can you show me how to get icon finder window,
    I tried typing the word "pich" like ten thousand but it didn't come out like you.
    Hope you help me. Thank you

  • @sampathkumar3405
    @sampathkumar3405 4 года назад

    what is that topmost property mentioned by air venuth??
    I've used this method but my alert is opening as a window minimized??its not showing that at bottom right of my screen

  • @osvaldoqueta3697
    @osvaldoqueta3697 4 года назад

    Simplesmente uma maravilha Amigo, te aguardo como meu professor na plataforma da Udemy. Forte Abraço.

  •  4 года назад

    Good job bro!

  • @cyberjunkie8043
    @cyberjunkie8043 3 года назад

    Thank you!

  • @lemedoalberth
    @lemedoalberth 4 года назад +1

    Nice video bro! I have a question, how to make notification Form appear on the top screen? And when I click again on button, the notification Form appears below of it?

    • @CUiAcademy
      @CUiAcademy  4 года назад

      Jut change the values of this.y and this.x to change to location of notification panel.

  • @traditionalvlogs6074
    @traditionalvlogs6074 3 года назад

    Hlo please help it is not working for me when I click on button the notification open new tab it does open like notification please help me

  • @patrickevangelista8017
    @patrickevangelista8017 3 года назад

    Hi, great tutorial, can this be triggered by time instead of buttons?

  • @edivanmedeiros5250
    @edivanmedeiros5250 4 года назад

    Fantastic

  • @AaricAaiden
    @AaricAaiden 4 года назад

    Hi. I want to learn how to make c# desktop application responsive to all screen sizes for example as Intel graphic control panel desktop application. It is responsive. Make a tutorial on it if possible.

  • @kristianladeras5670
    @kristianladeras5670 3 года назад

    Thank you so much :)

  • @rachitjasoria9041
    @rachitjasoria9041 2 года назад

    how did you get those notifications on top of each other without writing any code for it?

  • @marcelohmera
    @marcelohmera 3 года назад

    How to use this where I have a form with the true IsMdiContainer property, and in it I call another forms which I want to use the same notification as the video? Thanks

  • @quillestan3634
    @quillestan3634 2 года назад

    I already set hte TopMost True but it does not work sir

  • @josimarcamilo6031
    @josimarcamilo6031 4 года назад

    Toooop. Obrigado por esse vídeo!

  • @dev-oy1fu
    @dev-oy1fu 3 года назад +1

    Notification is showing under taskbar, how i can fix it?

    • @CUiAcademy
      @CUiAcademy  3 года назад

      Open the design view of your message form, go to properties and set the TopMost property to True.. I hope it will fix your issue... Thanks for watching our videos... Stay tuned for more.. ❤️

  • @marcol5374
    @marcol5374 4 года назад +1

    Wow. You teach also on udemy?

  • @NTKM-om9vn
    @NTKM-om9vn Год назад +1

    Similar code to mdemy. My problem is that it does not appear on full screen (maximized) form

    • @CUiAcademy
      @CUiAcademy  Год назад

      Select your form_alert, go to properties, set the top most property to true... I hope it will fix your problem.

    • @NTKM-om9vn
      @NTKM-om9vn Год назад +1

      @@CUiAcademy thanks! Problem fixed

  • @PBV52RN
    @PBV52RN 4 года назад

    THANK YOU!!!!

  • @rodriguebazie1373
    @rodriguebazie1373 2 года назад

    très intéressant, mais le soucis c'est que c'est pas possible d'avoir les notifications visibles 'agrandit la fenêtre des boutons, les notifications sont derrières! Dommage

  • @mateensadiq1379
    @mateensadiq1379 3 года назад

    thanks alot

  • @91belias
    @91belias 4 года назад

    No entiendo nada sus comentarios, jajaj pero que gran video #Gracias

  • @Linlccc
    @Linlccc 4 года назад

    牛逼 ,超级喜欢你的视频

  • @mohammadalicheraghi6132
    @mohammadalicheraghi6132 4 года назад +3

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @alexbarra7684
    @alexbarra7684 3 года назад

    Top

  • @MorkusReX
    @MorkusReX 4 года назад

    Look great! Great tutorial!
    Three issues:
    1. The first notification is under the taskbar, how to determine the height of the taskbar?
    2. When I click many times, the notification start to pop on the top left of the screen.
    3. Why does the X has a border if we disabled it? Only unselected forms have that. If you click the form it goes away.

    • @dev-oy1fu
      @dev-oy1fu 3 года назад

      same issue with notification under the taskbar

  • @shabulamwaanga565
    @shabulamwaanga565 3 года назад

    the build is successful i cant see the popup after runnung

  • @sidharths4096
    @sidharths4096 3 года назад +1

    How to control the location. If I want to show this inside a form

    • @CUiAcademy
      @CUiAcademy  3 года назад +1

      Hello Sidharth, Please focus on the line of code in the video at 8:50 in which we set the location of the message box. Just set the X and Y of this message box equal to your form's X and Y. Feel free to add or minus values to change the location of it.
      I hope it will work for you.. :)

  • @tahirm09
    @tahirm09 4 года назад

    hi , i want to communicate with regarding data binding in c #, i am facing lot of problem

  • @digizoom1526
    @digizoom1526 4 года назад +1

    tnxxxxxxxxxxxxxxxxxxxxxx

  • @naufalez
    @naufalez 4 года назад

    Can you make tutorial for make chart line/bar using data from sql server

  • @fatiniss1434
    @fatiniss1434 3 года назад

    How do I link it to a database and extract expired contracts

  • @Juancarloscr8
    @Juancarloscr8 Год назад

    Esa app de los iconos es gratis??

  • @jose-sebastian-garcia
    @jose-sebastian-garcia 3 года назад

    No comprendo por que mete un for en el 9:11, ¿cual es su función?

  • @aralinezhad4306
    @aralinezhad4306 4 года назад

    Thanks for this beautiful notification and i have a question about this command :
    case enmType.Success:
    this.PictureBox.Images=Recources ?
    I can't find this = Recources can you show me how do you solved that problem ?

  • @nazardranhovskyi3832
    @nazardranhovskyi3832 4 года назад

    Is there some way to implement it on UWP?

  • @morsheddld
    @morsheddld 3 года назад

    4:33 what's this app for icon??

  • @classicheroes7638
    @classicheroes7638 4 года назад

    Thumbs up

    • @imans52
      @imans52 3 года назад

      the program closes every opened form.ShowDialog() and every messagebox

  • @jtg4416
    @jtg4416 3 года назад

    the download for the source isnt working

  • @Enfetamina
    @Enfetamina 2 года назад

    it's not good for multiple screen sadly :(

  • @sefaelmas8501
    @sefaelmas8501 4 года назад

    how do we run this program in the browser?

  • @jezihh
    @jezihh 4 года назад +1

    The
    this.Location = new Point(this.x, this.x,);
    have problem with Point help

    • @jezihh
      @jezihh 4 года назад

      FOUND THE PROBLEM!!!

  • @cooldude3123
    @cooldude3123 3 года назад

    Does this work on 2019?

  • @korpukkur
    @korpukkur 2 года назад

    how do i create an account for your site bruh

  • @Ahmad_Hamdy_Hamdeen
    @Ahmad_Hamdy_Hamdeen 4 года назад +1

    🤗😍😮😮😮

  • @zehoudini
    @zehoudini 3 года назад

    Bruh its not for Visual 2010 😭😭😭😭😭

  • @yomarguerra706
    @yomarguerra706 4 года назад

    Excellent, will you have an email where I can communicate with you?

  • @helloquestionmark9942
    @helloquestionmark9942 4 года назад

    it aint working bro for me atleast