Beispiel #1
0
        private void alertControl1_AlertClick(object sender, DevExpress.XtraBars.Alerter.AlertClickEventArgs e)
        {
            //Process Alert Window click
            Message msg = e.Info.Tag as Message;

            XtraMessageBox.Show(msg.Text, msg.Caption);
        }
Beispiel #2
0
 private void alertControl1_AlertClick(object sender, DevExpress.XtraBars.Alerter.AlertClickEventArgs e)
 {
     ParentForm.WindowState = FormWindowState.Maximized;
     ParentForm.BringToFront();
     if (AlertClicked != null)
     {
         AlertClicked(Convert.ToInt32(e.Info.Tag));
     }
 }
Beispiel #3
0
 private void alertControl_AlertClick(object sender, DevExpress.XtraBars.Alerter.AlertClickEventArgs e)
 {
     if (((Contenedor)this.MdiParent).WindowState == FormWindowState.Minimized)
     {
         ((Contenedor)this.MdiParent).WindowState = FormWindowState.Maximized;
         return;
     }
     ((Contenedor)this.MdiParent).Focus();
     ((Contenedor)this.MdiParent).Hide();
     ((Contenedor)this.MdiParent).Show();
 }
Beispiel #4
0
 private void alertControl_AlertClick(object sender, DevExpress.XtraBars.Alerter.AlertClickEventArgs e)
 {
     try
     {
         //TODO uitwerken indien nodig.
     }
     catch (System.Exception excepion1)
     {
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }
Beispiel #5
0
 private void alertControl1_AlertClick(object sender, DevExpress.XtraBars.Alerter.AlertClickEventArgs e)
 {
     e.AlertForm.Close();
     this.Save();
 }
Beispiel #6
0
 void wAlert_AlertClick(object sender, DevExpress.XtraBars.Alerter.AlertClickEventArgs e)
 {
     System.Diagnostics.Process.Start("IExplore", Convert.ToString(e.Info.Tag));
 }
Beispiel #7
0
 /// <summary>
 /// Sự kiện: Click cửa số Alert
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void alertCtrlMain_AlertClick(object sender, DevExpress.XtraBars.Alerter.AlertClickEventArgs e)
 {
     AlertClick();
     e.AlertForm.Close();
 }