#310
authorSweidan Omar <TFS\sweidan.omar>
Thu, 13 Jan 2022 07:54:53 +0000 (07:54 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Thu, 13 Jan 2022 07:54:53 +0000 (07:54 +0000)
git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32739

client/DxPlay/Controls/PlayerControls.Designer.cs
client/DxPlay/PlayerForm.cs

index 2cbc4d849855a7ddb4d92408dfe5cc998876c8cd..b5e4204a19dac5ac0e2492a606447514ef16a1a5 100644 (file)
@@ -47,9 +47,9 @@
             this.btnStop = new MaestroShared.Controls.NoFocusCueButton();\r
             this.btnStepForward = new MaestroShared.Controls.NoFocusCueButton();\r
             this.btnForward = new MaestroShared.Controls.NoFocusCueButton();\r
+            this.lblPlaySpeed = new System.Windows.Forms.Label();\r
             this.logoPanel = new System.Windows.Forms.Panel();\r
             this.playSpeed = new DxPlay.Controls.VideoSpeedTrackbar();\r
-            this.lblPlaySpeed = new System.Windows.Forms.Label();\r
             this.mainPanel.SuspendLayout();\r
             this.timecodePanel.SuspendLayout();\r
             this.controlsPanel.SuspendLayout();\r
             // \r
             // lbCurrentTC\r
             // \r
-            this.lbCurrentTC.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)\r
-            | System.Windows.Forms.AnchorStyles.Left)\r
+            this.lbCurrentTC.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) \r
+            | System.Windows.Forms.AnchorStyles.Left) \r
             | System.Windows.Forms.AnchorStyles.Right)));\r
             this.lbCurrentTC.BackColor = System.Drawing.Color.Transparent;\r
             this.lbCurrentTC.Font = new System.Drawing.Font("Calibri", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
             this.btnForward.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;\r
             this.btnForward.UseVisualStyleBackColor = false;\r
             // \r
+            // lblPlaySpeed\r
+            // \r
+            this.lblPlaySpeed.AutoSize = true;\r
+            this.lblPlaySpeed.Location = new System.Drawing.Point(705, 0);\r
+            this.lblPlaySpeed.Name = "lblPlaySpeed";\r
+            this.lblPlaySpeed.Size = new System.Drawing.Size(158, 17);\r
+            this.lblPlaySpeed.TabIndex = 27;\r
+            this.lblPlaySpeed.Text = "Lejátszási sebesség: 1x";\r
+            // \r
             // logoPanel\r
             // \r
             this.logoPanel.AutoSize = true;\r
             this.logoPanel.BackgroundImage = global::DxPlay.Properties.Resources.bs_user_logo;\r
             this.logoPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;\r
             this.logoPanel.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.logoPanel.Location = new System.Drawing.Point(874, 0);\r
+            this.logoPanel.Location = new System.Drawing.Point(873, 0);\r
             this.logoPanel.Margin = new System.Windows.Forms.Padding(0);\r
             this.logoPanel.Name = "logoPanel";\r
-            this.logoPanel.Size = new System.Drawing.Size(231, 126);\r
+            this.logoPanel.Size = new System.Drawing.Size(232, 126);\r
             this.logoPanel.TabIndex = 21;\r
             // \r
             // playSpeed\r
         2F,\r
         3F,\r
         5F};\r
+            this.playSpeed.CurrentSpeed = 0F;\r
             this.playSpeed.Location = new System.Drawing.Point(563, 3);\r
             this.playSpeed.Maximum = 5;\r
-            this.playSpeed.Minimum = 1;\r
+            this.playSpeed.Minimum = 0;\r
             this.playSpeed.Name = "playSpeed";\r
             this.playSpeed.Size = new System.Drawing.Size(136, 56);\r
             this.playSpeed.TabIndex = 26;\r
-            this.playSpeed.Value = 3;\r
+            this.playSpeed.Value = 2;\r
             this.playSpeed.ValueChanged += new System.EventHandler(this.onPlaySpeedChanged);\r
             // \r
-            // lblPlaySpeed\r
-            // \r
-            this.lblPlaySpeed.AutoSize = true;\r
-            this.lblPlaySpeed.Location = new System.Drawing.Point(705, 0);\r
-            this.lblPlaySpeed.Name = "lblPlaySpeed";\r
-            this.lblPlaySpeed.Size = new System.Drawing.Size(158, 17);\r
-            this.lblPlaySpeed.TabIndex = 27;\r
-            this.lblPlaySpeed.Text = "Lejátszási sebesség: 1x";\r
-            // \r
             // PlayerControls\r
             // \r
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);\r
index 4b936e0606b627e38495ba5bcb99e9f29e565db4..d59b37a1f43c213e0e434cb81fe63ae6a1c5021c 100644 (file)
@@ -142,10 +142,6 @@ namespace DxPlay
             playerControls.TrackBar.Scroll += OnTrackBarScroll;\r
         }\r
 \r
-        //private void OnPlaySpeedValueChanged(object sender, EventArgs e)\r
-        //{\r
-           //Console.WriteLine(sender.GetType());\r
-        //}\r
 \r
         private void Pause_Click(object sender, EventArgs e)\r
         {\r