Push notifications

0

I'm developing a program where multiple users will use, and would like to develop a system with Push notification, so when any user makes a Insert in the database.

I would like it to be, for example, a pop-up of MSN ..

Could someone give me a light and tell me where to start? I've been researching, I found a lot about Web , but not specifically for Windows Forms ( WFA ).

  • Revision 04/11/2017

How would you do when a user finalizes a change, another user receives the notification?

Should I have a serviço running on the server?

In Internet search, I noticed that SQL Server has some features:

  • SqlDependency ;
  • Query Notification .
  • Has anyone tried using or already used? Is this a resource for this purpose?

        
    asked by anonymous 11.04.2017 / 02:49

    1 answer

    1

    I use the Balloon component of DevComponents on my system

    tosetthedisplaylocationIhedgethefollowingballoonconfiguration

    b.DesktopLocation=newPoint(SystemInformation.WorkingArea.Width-b.Width,SystemInformation.WorkingArea.Height-b.Height);

    Butyoucanalsochoosetodevelopyourown'InformationBalloon'Creatingaformwithparametersforthedesiredimageandtextbysettingitslocationinthesamewayastheexampleabove

    newPoint(SystemInformation.WorkingArea.Width-b.Width,SystemInformation.WorkingArea.Height-b.Height);

    IfyoudecidetouseBalloonfollowthesettingstobesetinthecodetobedisplayedasintheimage

    balloonTipFocus.Enabled=true;Balloonb=newBalloon();b.CreateControl();//DevComponents.DotNetBar.Balloonb=newDevComponents.DotNetBar.Balloon();b.AlertAnimation=eAlertAnimation.BottomToTop;b.Style=eBallonStyle.Office2007Alert;b.CaptionImage=IMAGEM;//Imagemexibidanobalãob.CaptionText="Texto Titulo";
                b.Text = "Texto corpo da mensagem";
                b.AutoResize();//Auto Ajusta tamanho do Balão ao Texto
                b.AutoClose = true;
                b.AutoCloseTimeOut = 5;//Tempo para o componente fechar automaticamente
                b.Owner = this;
                b.AntiAlias = true;
                b.AlertAnimationDuration = 200;
                b.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right);
                b.DesktopLocation = new Point(SystemInformation.WorkingArea.Width - b.Width, SystemInformation.WorkingArea.Height - b.Height);
    
                b.Show();
    
        
    11.04.2017 / 13:59