private void btnView_Click(object sender, EventArgs e)
        {
            if (currentPrim.PrimData.PCode != PCode.Prim)
            {
                instance.TabConsole.DisplayNotificationInChat("Cannot display objects of that type", ChatBufferTextStyle.Error);
                return;
            }

            frmPrimWorkshop pw = new frmPrimWorkshop(instance, currentPrim.LocalID);
            pw.Show();
        }
 private void button1_Click(object sender, EventArgs e)
 {
     frmPrimWorkshop pw = new frmPrimWorkshop(instance, attachment.LocalID);
     pw.Show();
     pw.SetView(new Vector3(0f, 0.5f, 0f), 0, 0, 90, -10);
 }