How to rotate an element in C #

0

I'm creating a software that runs video with a 90 degree angle. I'm using the axWindowsMediaPlayer (plugin provided by winform).

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RotationVideo
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }        
        private void button1_Click(object sender, EventArgs e)
        {
            OpenFileDialog fileOpened = new OpenFileDialog();
            if (fileOpened.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                textBox1.Text = fileOpened.FileName;
                axWindowsMediaPlayer1.URL = textBox1.Text;
                axWindowsMediaPlayer1.Ctlcontrols.play();
            }
        }
    }
}
    
asked by anonymous 25.07.2018 / 21:08

0 answers