Exemplo n.º 1
0
 protected override void WndProc(ref Message m)
 {
     base.WndProc(ref m);
     if (m.Msg == Core.HTCONTEXT)
     {
         int   contMenuX   = Cursor.Position.X - Location.X;
         int   contMenuY   = Cursor.Position.Y - Location.Y;
         Point contMenuPos = new Point(contMenuX, contMenuY);
         PopupSkin.Show(this, contMenuPos);
     }
 }
Exemplo n.º 2
0
 private void ButtonTheme_Click(object sender, EventArgs e)
 {
     PopupSkin.Show(ButtonTheme, Point.Empty);
 }
Exemplo n.º 3
0
 private void AppSkin_Click(object sender, EventArgs e)
 {
     PopupSkin.Show(AppSkin, Point.Empty);
 }