示例#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);
     }
 }
示例#2
0
 private void ButtonTheme_Click(object sender, EventArgs e)
 {
     PopupSkin.Show(ButtonTheme, Point.Empty);
 }
示例#3
0
 private void AppSkin_Click(object sender, EventArgs e)
 {
     PopupSkin.Show(AppSkin, Point.Empty);
 }
示例#4
0
 // 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;
 }