Ejemplo n.º 1
0
 public void SetTrimmingData(MovieTrimmingData trimmingData)
 {
     this.dataGridView1[1, 10].Value = trimmingData.Left;
     this.dataGridView1[1, 11].Value = trimmingData.Right;
     this.dataGridView1[1, 12].Value = trimmingData.Top;
     this.dataGridView1[1, 13].Value = trimmingData.Bottom;
 }
Ejemplo n.º 2
0
        public MovieCutForm(MovieTrimmingData trimmingdata)
        {
            InitializeComponent();
            if (trimmingdata != null)
            {
                this.textBox1.Text = trimmingdata.Left.ToString();
                this.textBox2.Text = trimmingdata.Right.ToString();
                this.textBox3.Text = trimmingdata.Top.ToString();
                this.textBox4.Text = trimmingdata.Bottom.ToString();
            }
            else
            {
                this.textBox1.Text = this.textBox2.Text = this.textBox3.Text = this.textBox4.Text = "0";
            }

            applyIniCheckBox.Checked = PPDStaticSetting.ApplyToIniMovieTrimming;
        }
Ejemplo n.º 3
0
 public void SetIni(float[] times, string[] difficults, float bpm, string bpmstring, MovieTrimmingData trimmingData)
 {
     setdata(times[0], 0, 1);
     setdata(times[1], 1, 1);
     setdata(times[2], 2, 1);
     setdata(times[3], 3, 1);
     this.dataGridView1[1, 4].Value = difficults[0];
     this.dataGridView1[1, 5].Value = difficults[1];
     this.dataGridView1[1, 6].Value = difficults[2];
     this.dataGridView1[1, 7].Value = difficults[3];
     this.dataGridView1[1, 8].Value = bpm.ToString();
     this.dataGridView1[1, 9].Value = bpmstring;
     SetTrimmingData(trimmingData);
 }