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); }
// Token: 0x06000F51 RID: 3921 RVA: 0x0000AF05 File Offset: 0x00009105 private void Awake() { PopupSkin.Initialize(this.popupSkin); this._blackTexture = new Texture2D(1, 1, TextureFormat.RGB24, false); this._color = Color.black; }