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); } }
private void ButtonTheme_Click(object sender, EventArgs e) { PopupSkin.Show(ButtonTheme, Point.Empty); }
private void AppSkin_Click(object sender, EventArgs e) { PopupSkin.Show(AppSkin, Point.Empty); }