Ejemplo n.º 1
0
        ////Point GetHotPoint()
        ////{
        ////    Point pt = new Point(this.previewPanel.Width / 2, 0);
        ////  //  if (this.cbeBeakLocation.EditValue.Equals(BeakPanelBeakLocation.Top))
        ////    {
        ////        pt.Y += this.previewPanel.Height;
        ////    }
        ////    return this.previewPanel.PointToScreen(pt);
        ////}

        private void flyoutPanel1_ButtonClick(object sender, DevExpress.Utils.FlyoutPanelButtonClickEventArgs e)
        {
            string tag = e.Button.Tag as string;

            if (string.Equals(tag, "Exit", StringComparison.OrdinalIgnoreCase))
            {
                ////this.flyoutPanel1.HideBeakForm();
            }
        }
Ejemplo n.º 2
0
 private void browserFlyoutPanel_ButtonClick(object sender, DevExpress.Utils.FlyoutPanelButtonClickEventArgs e)
 {
     if (e.Button.Caption == "Refresh")
     {
         webBrowser1.Refresh();
     }
     else if (e.Button.Caption == "Close")
     {
         webBrowser1.Stop();
         browserFlyoutPanel.HidePopup();
     }
 }
Ejemplo n.º 3
0
 private void FP_DetailCard_ButtonClick(object sender, DevExpress.Utils.FlyoutPanelButtonClickEventArgs e)
 {
     FP_DetailCard.HidePopup();
 }