Ejemplo n.º 1
0
        public void ShowSuccessPopup(bool closable, TimeSpan?closesAfter, string body, string title)
        {
            Popup popup = new Popup(PopupType.Success, closable, closesAfter, body, title);

            Popups[popup] = PopupType.Success;

            OnShowPopup?.Invoke(popup);
        }
Ejemplo n.º 2
0
 public void Show(object args = null)
 {
     MapButtonClickCallbacks();
     Subscribe();
     OnShow(args);
     EnablePanel();
     OnShowLate();
     OnShowPopup?.Invoke(Type);
 }
Ejemplo n.º 3
0
        private void MouseShowPopup(System.Windows.Forms.MouseEventArgs args)
        {
            System.Drawing.Point e           = new System.Drawing.Point(args.X, args.Y);
            List <Object>        dataContext = new List <object>();

            foreach (ThreadRow row in Rows)
            {
                if (row.Offset <= e.Y && e.Y <= row.Offset + row.Height)
                {
                    row.OnMouseHover(new Point(e.X, e.Y - row.Offset), Scroll, dataContext);
                }
            }
            OnShowPopup?.Invoke(dataContext);
        }