Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Completed something

  • Loading branch information...
commit 6c94ba60298e56af9f42145ccfc84419f8a0bb1e 1 parent dc05228
@Igorus authored
Showing with 0 additions and 2,127 deletions.
  1. +0 −20 TennisProject.sln
  2. BIN  TennisProject.suo
  3. +0 −489 TennisProject/Form1.Designer.cs
  4. +0 −532 TennisProject/Form1.cs
  5. +0 −132 TennisProject/Form1.resx
  6. +0 −306 TennisProject/Form2.Designer.cs
  7. +0 −103 TennisProject/Form2.cs
  8. +0 −120 TennisProject/Form2.resx
  9. +0 −21 TennisProject/Program.cs
  10. +0 −36 TennisProject/Properties/AssemblyInfo.cs
  11. +0 −63 TennisProject/Properties/Resources.Designer.cs
  12. +0 −121 TennisProject/Properties/Resources.resx
  13. +0 −30 TennisProject/Properties/Settings.Designer.cs
  14. +0 −7 TennisProject/Properties/Settings.settings
  15. BIN  TennisProject/Resources/Video/1.wmv
  16. +0 −102 TennisProject/TennisProject.csproj
  17. +0 −5 TennisProject/TennisProject.csproj.user
  18. BIN  TennisProject/bin/Debug/TennisProject.exe
  19. BIN  TennisProject/bin/Debug/TennisProject.pdb
  20. BIN  TennisProject/bin/Debug/TennisProject.vshost.exe
  21. +0 −11 TennisProject/bin/Debug/TennisProject.vshost.exe.manifest
  22. BIN  TennisProject/bin/Debug/video/1.wmv
  23. BIN  TennisProject/bin/Release/TennisProject.vshost.exe
  24. +0 −11 TennisProject/bin/Release/TennisProject.vshost.exe.manifest
  25. BIN  TennisProject/obj/Debug/ResolveAssemblyReference.cache
  26. BIN  TennisProject/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
  27. BIN  TennisProject/obj/Debug/TennisProject.Form1.resources
  28. BIN  TennisProject/obj/Debug/TennisProject.Form2.resources
  29. BIN  TennisProject/obj/Debug/TennisProject.Properties.Resources.resources
  30. +0 −18 TennisProject/obj/Debug/TennisProject.csproj.FileListAbsolute.txt
  31. BIN  TennisProject/obj/Debug/TennisProject.csproj.GenerateResource.Cache
  32. BIN  TennisProject/obj/Debug/TennisProject.exe
  33. BIN  TennisProject/obj/Debug/TennisProject.pdb
  34. BIN  TennisProject/obj/Release/TempPE/Properties.Resources.Designer.cs.dll
View
20 TennisProject.sln
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TennisProject", "TennisProject\TennisProject.csproj", "{6942BAE1-2F76-4D21-B164-A8AB493C9153}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6942BAE1-2F76-4D21-B164-A8AB493C9153}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6942BAE1-2F76-4D21-B164-A8AB493C9153}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6942BAE1-2F76-4D21-B164-A8AB493C9153}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6942BAE1-2F76-4D21-B164-A8AB493C9153}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
View
BIN  TennisProject.suo
Binary file not shown
View
489 TennisProject/Form1.Designer.cs
@@ -1,489 +0,0 @@
-namespace TennisProject
-{
- partial class Form1
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.openFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.closeFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.playToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.playToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.stopToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.lastFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.nextFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.synchronizationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.speedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.button3 = new System.Windows.Forms.Button();
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.openFileToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.closeFileToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.exitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.playToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
- this.playToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
- this.stopToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.pauseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.lastFrameToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.nextFrameToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.settingsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.synchronizationToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
- this.aboutToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.button4 = new System.Windows.Forms.Button();
- this.button5 = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.panel1 = new System.Windows.Forms.Panel();
- this.panel2 = new System.Windows.Forms.Panel();
- this.panel3 = new System.Windows.Forms.Panel();
- this.timer2 = new System.Windows.Forms.Timer(this.components);
- this.label2 = new System.Windows.Forms.Label();
- this.menuStrip1.SuspendLayout();
- this.panel3.SuspendLayout();
- this.SuspendLayout();
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.ForeColor = System.Drawing.SystemColors.ControlText;
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "File";
- //
- // openFileToolStripMenuItem
- //
- this.openFileToolStripMenuItem.Name = "openFileToolStripMenuItem";
- this.openFileToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.openFileToolStripMenuItem.Text = "Open File";
- //
- // closeFileToolStripMenuItem
- //
- this.closeFileToolStripMenuItem.Name = "closeFileToolStripMenuItem";
- this.closeFileToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.closeFileToolStripMenuItem.Text = "Close File";
- //
- // exitToolStripMenuItem
- //
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.exitToolStripMenuItem.Text = "Exit";
- //
- // playToolStripMenuItem
- //
- this.playToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.playToolStripMenuItem1,
- this.stopToolStripMenuItem,
- this.lastFrameToolStripMenuItem,
- this.nextFrameToolStripMenuItem});
- this.playToolStripMenuItem.Name = "playToolStripMenuItem";
- this.playToolStripMenuItem.Size = new System.Drawing.Size(41, 20);
- this.playToolStripMenuItem.Text = "Play";
- //
- // playToolStripMenuItem1
- //
- this.playToolStripMenuItem1.Name = "playToolStripMenuItem1";
- this.playToolStripMenuItem1.Size = new System.Drawing.Size(134, 22);
- this.playToolStripMenuItem1.Text = "Play";
- //
- // stopToolStripMenuItem
- //
- this.stopToolStripMenuItem.Name = "stopToolStripMenuItem";
- this.stopToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
- this.stopToolStripMenuItem.Text = "Stop";
- //
- // lastFrameToolStripMenuItem
- //
- this.lastFrameToolStripMenuItem.Name = "lastFrameToolStripMenuItem";
- this.lastFrameToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
- this.lastFrameToolStripMenuItem.Text = "Last Frame";
- //
- // nextFrameToolStripMenuItem
- //
- this.nextFrameToolStripMenuItem.Name = "nextFrameToolStripMenuItem";
- this.nextFrameToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
- this.nextFrameToolStripMenuItem.Text = "Next Frame";
- //
- // settingsToolStripMenuItem
- //
- this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.synchronizationToolStripMenuItem,
- this.speedToolStripMenuItem});
- this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
- this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
- this.settingsToolStripMenuItem.Text = "Settings";
- //
- // synchronizationToolStripMenuItem
- //
- this.synchronizationToolStripMenuItem.Name = "synchronizationToolStripMenuItem";
- this.synchronizationToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
- this.synchronizationToolStripMenuItem.Text = "Synchronization";
- //
- // speedToolStripMenuItem
- //
- this.speedToolStripMenuItem.Name = "speedToolStripMenuItem";
- this.speedToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
- this.speedToolStripMenuItem.Text = "Speed";
- //
- // helpToolStripMenuItem
- //
- this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.helpToolStripMenuItem1,
- this.aboutToolStripMenuItem});
- this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
- this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
- this.helpToolStripMenuItem.Text = "Help";
- //
- // helpToolStripMenuItem1
- //
- this.helpToolStripMenuItem1.Name = "helpToolStripMenuItem1";
- this.helpToolStripMenuItem1.Size = new System.Drawing.Size(107, 22);
- this.helpToolStripMenuItem1.Text = "Help";
- //
- // aboutToolStripMenuItem
- //
- this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
- this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
- this.aboutToolStripMenuItem.Text = "About";
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(0, 276);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(105, 30);
- this.button1.TabIndex = 4;
- this.button1.Text = "Play";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // button2
- //
- this.button2.Location = new System.Drawing.Point(111, 276);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(105, 30);
- this.button2.TabIndex = 5;
- this.button2.Text = "Pause";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
- // button3
- //
- this.button3.Location = new System.Drawing.Point(222, 276);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(105, 30);
- this.button3.TabIndex = 6;
- this.button3.Text = "Stop";
- this.button3.UseVisualStyleBackColor = true;
- this.button3.Click += new System.EventHandler(this.button3_Click);
- //
- // menuStrip1
- //
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem1,
- this.playToolStripMenuItem2,
- this.settingsToolStripMenuItem1,
- this.helpToolStripMenuItem2});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(684, 24);
- this.menuStrip1.TabIndex = 8;
- this.menuStrip1.Text = "menuStrip1";
- //
- // fileToolStripMenuItem1
- //
- this.fileToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.openFileToolStripMenuItem1,
- this.closeFileToolStripMenuItem1,
- this.exitToolStripMenuItem1});
- this.fileToolStripMenuItem1.Name = "fileToolStripMenuItem1";
- this.fileToolStripMenuItem1.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem1.Text = "File";
- //
- // openFileToolStripMenuItem1
- //
- this.openFileToolStripMenuItem1.Name = "openFileToolStripMenuItem1";
- this.openFileToolStripMenuItem1.Size = new System.Drawing.Size(124, 22);
- this.openFileToolStripMenuItem1.Text = "Open File";
- this.openFileToolStripMenuItem1.Click += new System.EventHandler(this.openFileToolStripMenuItem1_Click);
- //
- // closeFileToolStripMenuItem1
- //
- this.closeFileToolStripMenuItem1.Name = "closeFileToolStripMenuItem1";
- this.closeFileToolStripMenuItem1.Size = new System.Drawing.Size(124, 22);
- this.closeFileToolStripMenuItem1.Text = "Close File";
- this.closeFileToolStripMenuItem1.Click += new System.EventHandler(this.closeFileToolStripMenuItem1_Click);
- //
- // exitToolStripMenuItem1
- //
- this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1";
- this.exitToolStripMenuItem1.Size = new System.Drawing.Size(124, 22);
- this.exitToolStripMenuItem1.Text = "Exit";
- this.exitToolStripMenuItem1.Click += new System.EventHandler(this.exitToolStripMenuItem1_Click);
- //
- // playToolStripMenuItem2
- //
- this.playToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.playToolStripMenuItem3,
- this.stopToolStripMenuItem1,
- this.pauseToolStripMenuItem,
- this.lastFrameToolStripMenuItem1,
- this.nextFrameToolStripMenuItem1});
- this.playToolStripMenuItem2.Name = "playToolStripMenuItem2";
- this.playToolStripMenuItem2.Size = new System.Drawing.Size(41, 20);
- this.playToolStripMenuItem2.Text = "Play";
- //
- // playToolStripMenuItem3
- //
- this.playToolStripMenuItem3.Name = "playToolStripMenuItem3";
- this.playToolStripMenuItem3.Size = new System.Drawing.Size(134, 22);
- this.playToolStripMenuItem3.Text = "Play";
- this.playToolStripMenuItem3.Click += new System.EventHandler(this.playToolStripMenuItem3_Click);
- //
- // stopToolStripMenuItem1
- //
- this.stopToolStripMenuItem1.Name = "stopToolStripMenuItem1";
- this.stopToolStripMenuItem1.Size = new System.Drawing.Size(134, 22);
- this.stopToolStripMenuItem1.Text = "Stop";
- this.stopToolStripMenuItem1.Click += new System.EventHandler(this.stopToolStripMenuItem1_Click);
- //
- // pauseToolStripMenuItem
- //
- this.pauseToolStripMenuItem.Name = "pauseToolStripMenuItem";
- this.pauseToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
- this.pauseToolStripMenuItem.Text = "Pause";
- this.pauseToolStripMenuItem.Click += new System.EventHandler(this.pauseToolStripMenuItem_Click);
- //
- // lastFrameToolStripMenuItem1
- //
- this.lastFrameToolStripMenuItem1.Name = "lastFrameToolStripMenuItem1";
- this.lastFrameToolStripMenuItem1.Size = new System.Drawing.Size(134, 22);
- this.lastFrameToolStripMenuItem1.Text = "Last Frame";
- this.lastFrameToolStripMenuItem1.Click += new System.EventHandler(this.lastFrameToolStripMenuItem1_Click);
- //
- // nextFrameToolStripMenuItem1
- //
- this.nextFrameToolStripMenuItem1.Name = "nextFrameToolStripMenuItem1";
- this.nextFrameToolStripMenuItem1.Size = new System.Drawing.Size(134, 22);
- this.nextFrameToolStripMenuItem1.Text = "Next Frame";
- this.nextFrameToolStripMenuItem1.Click += new System.EventHandler(this.nextFrameToolStripMenuItem1_Click);
- //
- // settingsToolStripMenuItem1
- //
- this.settingsToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.synchronizationToolStripMenuItem1});
- this.settingsToolStripMenuItem1.Name = "settingsToolStripMenuItem1";
- this.settingsToolStripMenuItem1.Size = new System.Drawing.Size(61, 20);
- this.settingsToolStripMenuItem1.Text = "Settings";
- //
- // synchronizationToolStripMenuItem1
- //
- this.synchronizationToolStripMenuItem1.Name = "synchronizationToolStripMenuItem1";
- this.synchronizationToolStripMenuItem1.Size = new System.Drawing.Size(159, 22);
- this.synchronizationToolStripMenuItem1.Text = "Synchronization";
- this.synchronizationToolStripMenuItem1.Click += new System.EventHandler(this.synchronizationToolStripMenuItem1_Click);
- //
- // helpToolStripMenuItem2
- //
- this.helpToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.helpToolStripMenuItem3,
- this.aboutToolStripMenuItem1});
- this.helpToolStripMenuItem2.Name = "helpToolStripMenuItem2";
- this.helpToolStripMenuItem2.Size = new System.Drawing.Size(44, 20);
- this.helpToolStripMenuItem2.Text = "Help";
- //
- // helpToolStripMenuItem3
- //
- this.helpToolStripMenuItem3.Name = "helpToolStripMenuItem3";
- this.helpToolStripMenuItem3.Size = new System.Drawing.Size(107, 22);
- this.helpToolStripMenuItem3.Text = "Help";
- //
- // aboutToolStripMenuItem1
- //
- this.aboutToolStripMenuItem1.Name = "aboutToolStripMenuItem1";
- this.aboutToolStripMenuItem1.Size = new System.Drawing.Size(107, 22);
- this.aboutToolStripMenuItem1.Text = "About";
- //
- // button4
- //
- this.button4.Location = new System.Drawing.Point(333, 276);
- this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(105, 30);
- this.button4.TabIndex = 9;
- this.button4.Text = "Last Frame";
- this.button4.UseVisualStyleBackColor = true;
- this.button4.Click += new System.EventHandler(this.button4_Click);
- //
- // button5
- //
- this.button5.Location = new System.Drawing.Point(444, 276);
- this.button5.Name = "button5";
- this.button5.Size = new System.Drawing.Size(105, 30);
- this.button5.TabIndex = 10;
- this.button5.Text = "Next Frame";
- this.button5.UseVisualStyleBackColor = true;
- this.button5.Click += new System.EventHandler(this.button5_Click);
- //
- // label1
- //
- this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.label1.Location = new System.Drawing.Point(598, 284);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(40, 15);
- this.label1.TabIndex = 11;
- //
- // timer1
- //
- this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
- //
- // panel1
- //
- this.panel1.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
- this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.panel1.Cursor = System.Windows.Forms.Cursors.Arrow;
- this.panel1.Location = new System.Drawing.Point(10, 18);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(310, 200);
- this.panel1.TabIndex = 1;
- //
- // panel2
- //
- this.panel2.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
- this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.panel2.Cursor = System.Windows.Forms.Cursors.Arrow;
- this.panel2.Location = new System.Drawing.Point(360, 18);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(310, 200);
- this.panel2.TabIndex = 2;
- //
- // panel3
- //
- this.panel3.BackColor = System.Drawing.Color.Transparent;
- this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel3.Controls.Add(this.panel1);
- this.panel3.Controls.Add(this.panel2);
- this.panel3.Location = new System.Drawing.Point(0, 30);
- this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(684, 240);
- this.panel3.TabIndex = 3;
- //
- // timer2
- //
- this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
- //
- // label2
- //
- this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.label2.Location = new System.Drawing.Point(644, 284);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(40, 15);
- this.label2.TabIndex = 12;
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(684, 318);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.button5);
- this.Controls.Add(this.button4);
- this.Controls.Add(this.button3);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.menuStrip1);
- this.Controls.Add(this.panel3);
- this.MinimumSize = new System.Drawing.Size(700, 354);
- this.Name = "Form1";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "TennisComparer";
- this.Load += new System.EventHandler(this.Form1_Load);
- this.ResizeBegin += new System.EventHandler(this.Form1_ResizeBegin);
- this.ResizeEnd += new System.EventHandler(this.Form1_ResizeEnd);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.panel3.ResumeLayout(false);
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem playToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem openFileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem closeFileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem playToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem stopToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem lastFrameToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem nextFrameToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem synchronizationToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem speedToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.Button button3;
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem openFileToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem closeFileToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem playToolStripMenuItem2;
- private System.Windows.Forms.ToolStripMenuItem playToolStripMenuItem3;
- private System.Windows.Forms.ToolStripMenuItem stopToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem pauseToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem lastFrameToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem nextFrameToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem synchronizationToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem2;
- private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem3;
- private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem1;
- private System.Windows.Forms.Button button4;
- private System.Windows.Forms.Button button5;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Timer timer1;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Panel panel3;
- private System.Windows.Forms.Timer timer2;
- private System.Windows.Forms.Label label2;
- }
-}
-
View
532 TennisProject/Form1.cs
@@ -1,532 +0,0 @@
-using System;
-using System.Drawing;
-using System.Windows.Forms;
-using Microsoft.DirectX.AudioVideoPlayback;
-
-namespace TennisProject
-{
- public partial class Form1 : Form
- {
- int time1, time2;
- string FilePathUser, FilePathPro;
- Video video_self, video_pro;
- int delta_p1_form, frame_begin, frame_end; //Норкоман?
- OpenFileDialog OpenFileUser = new OpenFileDialog();
- OpenFileDialog OpenFilePro = new OpenFileDialog();
- double RateUser, RatePro;
- int size_u; //Норкоман?
- bool played=false; //Норкоман.
- public Form2 form2 = new Form2();
-
-
- public Form1()
- {
- InitializeComponent();
- }
-
- private void Form1_Load(object sender, EventArgs e)
- {
- OpenFileUser.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
- OpenFileUser.Filter = "Video Files (*.avi;*.mpg;*.wmv;*.mp4)|*.avi;*.mpg;*.wmv;*.mp4";
- OpenFileUser.FilterIndex = 1;
- OpenFileUser.RestoreDirectory = false;
- OpenFileUser.Title = "Choose your video";
-
- string vwpro = Application.StartupPath + "\\video";
- OpenFilePro.InitialDirectory = vwpro;
- OpenFilePro.Filter = "Video Files (*.avi;*.mpg;*.wmv;*.mp4)|*.avi;*.mpg;*.wmv;*.mp4";
- OpenFilePro.FilterIndex = 1;
- OpenFilePro.RestoreDirectory = true;
- OpenFilePro.Title = "Choose Pro video";
-
- button1.Enabled = false;
- button2.Enabled = false;
- button3.Enabled = false;
- button4.Enabled = false;
- button5.Enabled = false;
- playToolStripMenuItem2.Enabled = false;
- closeFileToolStripMenuItem1.Enabled = false;
- delta_p1_form = ClientSize.Height - panel1.Location.Y - panel1.Size.Height;
- size_u = ClientSize.Width;
-
- form2.ShowInTaskbar = false;
-
- }
-
- private void openFileToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- int pwidth = panel1.Width;
-
- if (OpenFileUser.ShowDialog() == DialogResult.OK)
- {
- if (OpenFilePro.ShowDialog() == DialogResult.OK)
- {
- FilePathUser = OpenFileUser.FileName;
-
- video_self = new Video(FilePathUser);
-
- video_self.Owner = panel1;
- panel1.Height = video_self.Size.Height * pwidth / video_self.Size.Width;
- panel1.Width = pwidth;
-
-
- FilePathPro = OpenFilePro.FileName;
-
- video_pro = new Video(FilePathPro);
- video_pro.Owner = panel2;
- panel2.Height = video_pro.Size.Height * pwidth / video_pro.Size.Width;
- panel2.Width = pwidth;
- button1.Enabled = true;
- button2.Enabled = false;
- button3.Enabled = false;
- button4.Enabled = false;
- button5.Enabled = true;
- playToolStripMenuItem2.Enabled = true;
- closeFileToolStripMenuItem1.Enabled = true;
-
- Play();
- Pause();
-
- time1 = 0;
- label1.Text = time1.ToString();
- time2 = 0;
- label2.Text = time2.ToString();
-
- int max_h;
- max_h = panel2.Height + panel1.Location.Y;
- if (panel1.Height > panel2.Height) max_h = panel1.Height + panel1.Location.Y;
- panel3.Height = max_h + 22;
- button1.Top = max_h + 58;
- button2.Top = max_h + 58;
- button3.Top = max_h + 58;
- button4.Top = max_h + 58;
- button5.Top = max_h + 58;
- label1.Top = max_h + 63;
- label2.Top = max_h + 63;
-
- if (this.WindowState != FormWindowState.Maximized)
- {
- Size client_size = new Size(ClientSize.Width, max_h + delta_p1_form);
- ClientSize = client_size;
- size_u = ClientSize.Width;
-
- }
- // if (this.WindowState != FormWindowState.Normal)
- form2.ShowDialog();
-
- played = false;
- //int[] a = new int[2];
- // int b = a[5];
- MessageBox.Show(this.WindowState.ToString());
- }
-
- else MessageBox.Show("Choose Pro video!");
- }
- else MessageBox.Show("Choose your video!");
-
- }
-
- #region
- public void Play()
- {
- int f_b = form2.frame_begin;//?
- frame_end = (int)(video_self.Duration / video_self.AverageTimePerFrame);//!!!!
- if (!played) video_self.CurrentPosition = (double)(video_self.AverageTimePerFrame * f_b);//frame_begin;
- RateUser = (double)0.03125;//!!
- RatePro = 2;//!!
- timer1.Interval = Convert.ToInt16(video_self.AverageTimePerFrame / (RateUser * RatePro) * 1000);
- timer2.Interval = Convert.ToInt16(video_pro.AverageTimePerFrame / RatePro * 1000);
- {
- timer1.Enabled = true;
- timer2.Enabled = true;
- button1.Enabled = false;
- playToolStripMenuItem3.Enabled = false;
- button2.Enabled = true;
- button3.Enabled = true;
- stopToolStripMenuItem1.Enabled = true;
- pauseToolStripMenuItem.Enabled = true;
- button4.Enabled = true;
- lastFrameToolStripMenuItem1.Enabled = true;
- nextFrameToolStripMenuItem1.Enabled = true;
- button5.Enabled = true;
- played = true;
- }
- }
-
- private void Stop()
- {
- video_pro.CurrentPosition = 0;
- video_self.CurrentPosition = 0;
- {
- timer1.Enabled = false;
- timer2.Enabled = false;
- button1.Enabled = true;
- playToolStripMenuItem3.Enabled = true;
- button2.Enabled = false;
- button3.Enabled = false;
- stopToolStripMenuItem1.Enabled = false;
- pauseToolStripMenuItem.Enabled = false;
- button4.Enabled = false;
- lastFrameToolStripMenuItem1.Enabled = false;
- nextFrameToolStripMenuItem1.Enabled = true;
- button5.Enabled = true;
- played = false;
- }
- time1 = 0;
- label1.Text = time1.ToString();
- time2 = 0;
- label2.Text = time2.ToString();
- }
-
- private void Pause()
- {
- video_self.Pause();
- video_pro.Pause();
- {
- timer1.Enabled = false;
- timer2.Enabled = false;
- button1.Enabled = true;
- playToolStripMenuItem3.Enabled = true;
- button2.Enabled = false;
- button3.Enabled = true;
- stopToolStripMenuItem1.Enabled = true;
- pauseToolStripMenuItem.Enabled = false;
- }
- }
-
- private void Last_Frame()
- {
- button5.Enabled = true;
- nextFrameToolStripMenuItem1.Enabled = true;
- if (video_pro.CurrentPosition > (video_self.AverageTimePerFrame / RateUser)*1.01)
- {
- video_pro.CurrentPosition -= video_self.AverageTimePerFrame / RateUser;//!!!!Умножить фрэймы на скорость.
- time2 -= (int)(1 / RateUser);
- label2.Text = time2.ToString();
- }
- else video_pro.CurrentPosition = 0; //не нулю, а PRO BEGINING FRAME и снизу аналогично!!!
-
- if (video_self.CurrentPosition > video_self.AverageTimePerFrame *1.01)
- {
- video_self.CurrentPosition -= video_self.AverageTimePerFrame;
- --time1;
- label1.Text = time1.ToString();
- }
- else video_self.CurrentPosition = 0;
-
- if (video_pro.CurrentPosition == 0 && video_self.CurrentPosition == 0)// если не ноль, а begin frame
- {
- button1.Enabled = true;
- button2.Enabled = false;
- button3.Enabled = false;
- button4.Enabled = false;
- button5.Enabled = true;
- nextFrameToolStripMenuItem1.Enabled = true;
- lastFrameToolStripMenuItem1.Enabled = false;
- playToolStripMenuItem3.Enabled = true;
- stopToolStripMenuItem1.Enabled = false;
- pauseToolStripMenuItem.Enabled = false;
- //таймеры равны begin frame
- }
-
-
- }
-
- private void Next_Frame()
- {
- button4.Enabled = true;
- lastFrameToolStripMenuItem1.Enabled = true;
- if (video_pro.Duration > video_self.CurrentPosition - video_self.AverageTimePerFrame) //не дурашн, а енд фрейм и аналогично снизу.
- {
- video_pro.CurrentPosition += video_self.AverageTimePerFrame / (double)RateUser;
- time2+=(int)(1/RateUser);
- label2.Text = time2.ToString();
- }
- //!!!!!
- if (frame_end > video_self.CurrentPosition - video_self.AverageTimePerFrame)
- {
- video_self.CurrentPosition += video_self.AverageTimePerFrame;
- ++time1;
- label1.Text = time1.ToString();
- }
- if (video_self.CurrentPosition > video_self.Duration - video_self.AverageTimePerFrame && video_pro.CurrentPosition > video_self.Duration - video_self.AverageTimePerFrame/RateUser )
- {
- button1.Enabled = false;
- button2.Enabled = false;
- button3.Enabled = true;
- button4.Enabled = true;
- button5.Enabled = false;
- nextFrameToolStripMenuItem1.Enabled = false;
- lastFrameToolStripMenuItem1.Enabled = true;
- playToolStripMenuItem3.Enabled = false;
- stopToolStripMenuItem1.Enabled = true;
- pauseToolStripMenuItem.Enabled = false;
- }
-
- }
- #endregion
- #region
- private void button1_Click(object sender, EventArgs e)
- {
- Play();
- }
-
- private void button3_Click(object sender, EventArgs e)
- {
- Stop();
- }
-
- private void button4_Click(object sender, EventArgs e)
- {
- Last_Frame();
- }
-
- private void button2_Click(object sender, EventArgs e)
- {
- Pause();
- }
-
- private void button5_Click(object sender, EventArgs e)
- {
- Next_Frame();
- }
-
- private void playToolStripMenuItem3_Click(object sender, EventArgs e)
- {
- Play();
- }
-
- private void stopToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- Stop();
- }
-
- private void pauseToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Pause();
- }
-
- private void lastFrameToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- Last_Frame();
- }
-
- private void nextFrameToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- Next_Frame();
- }
-
- private void closeFileToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- button1.Enabled = false;
- button2.Enabled = false;
- button3.Enabled = false;
- button4.Enabled = false;
- button5.Enabled = false;
- playToolStripMenuItem2.Enabled = false;
- closeFileToolStripMenuItem1.Enabled = false;
- playToolStripMenuItem2.Enabled = false;
- closeFileToolStripMenuItem1.Enabled = false;
- video_self.Dispose();
- video_pro.Dispose();
- timer1.Enabled = false;
- time1 = 0;
- label1.Text = time1.ToString();
- time2 = 0;
- label2.Text = time2.ToString();
- }
-
- private void exitToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- #endregion
-
- private void timer1_Tick(object sender, EventArgs e)
- {
- if (video_self.CurrentPosition + video_self.AverageTimePerFrame < video_self.Duration)//frame_end)
- video_self.CurrentPosition += video_self.AverageTimePerFrame;
- else
- {
- video_self.CurrentPosition = 0;
- played = false;
- timer1.Enabled = false;
- }
-
- {
- ++time1;
- label1.Text = time1.ToString();
- }
- if (video_self.CurrentPosition == 0 && video_pro.CurrentPosition == 0)
- {
- button1.Enabled = true;
- button2.Enabled = false;
- button3.Enabled = false;
- button5.Enabled = false;
- nextFrameToolStripMenuItem1.Enabled = false;
- button4.Enabled = true;
- lastFrameToolStripMenuItem1.Enabled = true;
- time1 = 0;
- label1.Text = time1.ToString();
- time2 = 0;
- label2.Text = time2.ToString();
- }
-
- }
-
- private void timer2_Tick(object sender, EventArgs e)
- {
- if (video_pro.CurrentPosition + video_pro.AverageTimePerFrame < video_pro.Duration)
- video_pro.CurrentPosition += video_pro.AverageTimePerFrame;
- else
- {
- video_pro.CurrentPosition=0;
- played = false;
- timer2.Enabled = false;
- }
-
- {
- ++time2;
- label2.Text = time2.ToString();
- }
-
- if (video_self.CurrentPosition == 0 && video_pro.CurrentPosition == 0)
- {
- button1.Enabled = true;
- button2.Enabled = false;
- button3.Enabled = false;
- button5.Enabled = false;
- nextFrameToolStripMenuItem1.Enabled = false;
- button4.Enabled = true;
- lastFrameToolStripMenuItem1.Enabled = true;//Нужен ли этот блок?
- time1 = 0;
- label1.Text = time1.ToString();
- time2 = 0;
- label2.Text = time2.ToString();
- }
- }
-
-
-
-
- int clb_x, clb_y;
- private void Form1_ResizeBegin(object sender, EventArgs e)
- {
- clb_x = ClientSize.Width;
- clb_y = ClientSize.Height;
-
- }
-
- private void Form1_ResizeEnd(object sender, EventArgs e)
- {
- double ratio1, ratio2;
- if (video_self != null) ratio1 = (double)video_self.DefaultSize.Height / video_self.DefaultSize.Width;
- else ratio1 = (double)20 / 31;
- if (video_pro != null) ratio2 = (double)video_pro.DefaultSize.Height / video_pro.DefaultSize.Width;
- else ratio2 = (double)20 / 31;
- int cle_x = ClientSize.Width, cle_y = ClientSize.Height, cld_x, cld_y;
- cld_x = cle_x - clb_x;
- cld_y = cle_y - clb_y;
-
- panel1.Width += cld_x / 2;
- panel1.Height = (int)(ratio1 * panel1.Size.Width);
- panel2.Left += cld_x / 2;
- panel2.Width += cld_x / 2;
- panel2.Height = (int)(ratio2 * panel2.Size.Width);
- panel3.Width += cld_x;
-
- int max_h;
- max_h = panel2.Height + panel1.Location.Y;
- if (panel1.Height > panel2.Height) max_h = panel1.Height + panel1.Location.Y;
- panel3.Height = max_h + 22;
- button1.Top = max_h + 58;
- button2.Top = max_h + 58;
- button3.Top = max_h + 58;
- button4.Top = max_h + 58;
- button5.Top = max_h + 58;
- label1.Top = max_h + 63;
- label2.Top = max_h + 63;
- Size client_size = new Size(ClientSize.Width, max_h + delta_p1_form);
- ClientSize = client_size;
- size_u = ClientSize.Width;
- }
-
- int size_m = Screen.PrimaryScreen.Bounds.Width;
- protected override void WndProc(ref Message m)
- {
- const int WM_SYSCOMMAND = 0x0112;
- const int SC_MAXIMIZE = 0xF030;
- const int SC_RESTORE = 0xF120;
- const int WM_NCLBUTDBLCLK = 0x00A3;
- const int HTCAPTION = 2;
-
-
- switch (m.Msg)
- {
- case (WM_SYSCOMMAND):
- switch (m.WParam.ToInt32())
- {
- case SC_MAXIMIZE:
- size_m = Screen.PrimaryScreen.Bounds.Width;
- SIZE();
- break;
- case SC_RESTORE:
- size_m = size_u;
- SIZE();
- break;
- }
- break;
-
- case (WM_NCLBUTDBLCLK):
- if (m.WParam.ToInt32() == HTCAPTION)
- {
- if (WindowState == FormWindowState.Maximized)
- {
- size_m = size_u;
- SIZE();
- }
- else
- {
- size_m = Screen.PrimaryScreen.Bounds.Width;
- SIZE();
- }
- }
- break;
- }
- base.WndProc(ref m);
- }
-
- private void SIZE()
- {
- double ratio1, ratio2;
- if (video_self != null) ratio1 = (double)video_self.DefaultSize.Height / video_self.DefaultSize.Width;
- else ratio1 = (double)20 / 31;
- if (video_pro != null) ratio2 = (double)video_pro.DefaultSize.Height / video_pro.DefaultSize.Width;
- else ratio2 = (double)20 / 31;
-
- panel1.Width = (size_m - 60) / 2;
- panel2.Left = panel1.Location.X + panel1.Size.Width + 40;
- panel2.Width = panel1.Width;
- panel3.Width = size_m - 1;
- panel1.Height = (int)(ratio1 * panel1.Size.Width);
- panel2.Height = (int)(ratio2 * panel2.Size.Width);
- int max_h;
- max_h = panel2.Height + panel1.Location.Y;
- if (panel1.Height > panel2.Height) max_h = panel1.Height + panel1.Location.Y;
- panel3.Height = max_h + 22;
- button1.Top = max_h + 58;
- button2.Top = max_h + 58;
- button3.Top = max_h + 58;
- button4.Top = max_h + 58;
- button5.Top = max_h + 58;
- label1.Top = max_h + 63;
- label2.Top = max_h + 63;
- }
-
- private void synchronizationToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- form2.ShowDialog();
- }
-
- }
-}
View
132 TennisProject/Form1.resx
@@ -1,132 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>17, 17</value>
- </metadata>
- <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>132, 17</value>
- </metadata>
- <metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>219, 17</value>
- </metadata>
- <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>42</value>
- </metadata>
-</root>
View
306 TennisProject/Form2.Designer.cs
@@ -1,306 +0,0 @@
-namespace TennisProject
-{
- partial class Form2
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.label9 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.domainUpDown2 = new System.Windows.Forms.DomainUpDown();
- this.label10 = new System.Windows.Forms.Label();
- this.domainUpDown1 = new System.Windows.Forms.DomainUpDown();
- this.label3 = new System.Windows.Forms.Label();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.textBox2 = new System.Windows.Forms.TextBox();
- this.textBox3 = new System.Windows.Forms.TextBox();
- this.textBox4 = new System.Windows.Forms.TextBox();
- this.groupBox1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.SuspendLayout();
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(181, 269);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 23);
- this.button1.TabIndex = 8;
- this.button1.Text = "OK";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // button2
- //
- this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.button2.Location = new System.Drawing.Point(262, 269);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(75, 23);
- this.button2.TabIndex = 9;
- this.button2.Text = "Cancel";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.textBox4);
- this.groupBox1.Controls.Add(this.textBox3);
- this.groupBox1.Controls.Add(this.textBox2);
- this.groupBox1.Controls.Add(this.textBox1);
- this.groupBox1.Controls.Add(this.label9);
- this.groupBox1.Controls.Add(this.label8);
- this.groupBox1.Controls.Add(this.label7);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.label4);
- this.groupBox1.Controls.Add(this.label5);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.label1);
- this.groupBox1.Location = new System.Drawing.Point(14, 14);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(323, 131);
- this.groupBox1.TabIndex = 10;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Border of begining and ending video";
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(269, 103);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(33, 13);
- this.label9.TabIndex = 19;
- this.label9.Text = "frame";
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(269, 77);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(33, 13);
- this.label8.TabIndex = 18;
- this.label8.Text = "frame";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(269, 51);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(33, 13);
- this.label7.TabIndex = 17;
- this.label7.Text = "frame";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(269, 25);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(33, 13);
- this.label6.TabIndex = 16;
- this.label6.Text = "frame";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(6, 103);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(136, 13);
- this.label4.TabIndex = 13;
- this.label4.Text = "End professional video with";
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(6, 77);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(115, 13);
- this.label5.TabIndex = 12;
- this.label5.Text = "Begin user\'s video with";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(6, 51);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(136, 13);
- this.label2.TabIndex = 9;
- this.label2.Text = "End professional video with";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(6, 25);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(144, 13);
- this.label1.TabIndex = 8;
- this.label1.Text = "Begin professional video with";
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.domainUpDown2);
- this.groupBox2.Controls.Add(this.label10);
- this.groupBox2.Controls.Add(this.domainUpDown1);
- this.groupBox2.Controls.Add(this.label3);
- this.groupBox2.Location = new System.Drawing.Point(14, 177);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(323, 86);
- this.groupBox2.TabIndex = 11;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Speed";
- //
- // domainUpDown2
- //
- this.domainUpDown2.Items.Add("1");
- this.domainUpDown2.Items.Add("1/2");
- this.domainUpDown2.Items.Add("1/4");
- this.domainUpDown2.Items.Add("1/8");
- this.domainUpDown2.Items.Add("1/16");
- this.domainUpDown2.Location = new System.Drawing.Point(214, 51);
- this.domainUpDown2.Name = "domainUpDown2";
- this.domainUpDown2.Size = new System.Drawing.Size(40, 20);
- this.domainUpDown2.TabIndex = 9;
- this.domainUpDown2.Tag = "";
- //
- // label10
- //
- this.label10.AutoSize = true;
- this.label10.Location = new System.Drawing.Point(6, 25);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(160, 13);
- this.label10.TabIndex = 8;
- this.label10.Text = "Professional video playback rate";
- //
- // domainUpDown1
- //
- this.domainUpDown1.Items.Add("1");
- this.domainUpDown1.Items.Add("1/2");
- this.domainUpDown1.Items.Add("1/4");
- this.domainUpDown1.Items.Add("1/8");
- this.domainUpDown1.Items.Add("1/16");
- this.domainUpDown1.Location = new System.Drawing.Point(214, 23);
- this.domainUpDown1.Name = "domainUpDown1";
- this.domainUpDown1.Size = new System.Drawing.Size(40, 20);
- this.domainUpDown1.TabIndex = 7;
- this.domainUpDown1.Tag = "";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(6, 53);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(72, 13);
- this.label3.TabIndex = 6;
- this.label3.Text = "Playback rate";
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(214, 22);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(40, 20);
- this.textBox1.TabIndex = 20;
- this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
- //
- // textBox2
- //
- this.textBox2.Location = new System.Drawing.Point(214, 100);
- this.textBox2.Name = "textBox2";
- this.textBox2.Size = new System.Drawing.Size(40, 20);
- this.textBox2.TabIndex = 21;
- this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
- //
- // textBox3
- //
- this.textBox3.Location = new System.Drawing.Point(214, 74);
- this.textBox3.Name = "textBox3";
- this.textBox3.Size = new System.Drawing.Size(40, 20);
- this.textBox3.TabIndex = 22;
- this.textBox3.TextChanged += new System.EventHandler(this.textBox3_TextChanged);
- //
- // textBox4
- //
- this.textBox4.Location = new System.Drawing.Point(214, 48);
- this.textBox4.Name = "textBox4";
- this.textBox4.Size = new System.Drawing.Size(40, 20);
- this.textBox4.TabIndex = 23;
- this.textBox4.TextChanged += new System.EventHandler(this.textBox4_TextChanged);
- //
- // Form2
- //
- this.AcceptButton = this.button1;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.button2;
- this.ClientSize = new System.Drawing.Size(349, 298);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.MaximumSize = new System.Drawing.Size(365, 334);
- this.MinimumSize = new System.Drawing.Size(365, 334);
- this.Name = "Form2";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Synchronization";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form2_FormClosing);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Label label9;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.Label label10;
- private System.Windows.Forms.DomainUpDown domainUpDown1;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.DomainUpDown domainUpDown2;
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.TextBox textBox4;
- private System.Windows.Forms.TextBox textBox3;
- private System.Windows.Forms.TextBox textBox2;
- }
-}
View
103 TennisProject/Form2.cs
@@ -1,103 +0,0 @@
-using System;
-using System.Windows.Forms;
-using System.Text.RegularExpressions;
-
-namespace TennisProject
-{
- public partial class Form2 : Form
- {
- public Form2()
- {
- InitializeComponent();
- this.ControlBox = false;
- }
-
- public int frame_begin, frame_end;
- public double rate = 0.3125, speed_p=1;
-
- private void button1_Click(object sender, EventArgs e)
- {
-
- try
- {
- // frame_begin = Convert.ToInt32(textBox1.Text);
- // frame_end = Convert.ToInt32(textBox2.Text);
- }
- catch
- {
- MessageBox.Show("Enter correct value");
- }
- //Form1 form1 = new Form1();
- //MessageBox.Show(""+frame_begin);
- this.Close();
- }
-
- private void button2_Click(object sender, EventArgs e)
- {
- this.Close();
- }
-
- private void Form2_FormClosing(object sender, FormClosingEventArgs e)
- {
-
- }
-
- private const int CS_NOCLOSE = 0x200;
- protected override CreateParams CreateParams
- {
- get
- {
- CreateParams CrPar = base.CreateParams;
- CrPar.ClassStyle = CrPar.ClassStyle | CS_NOCLOSE;
- return CrPar;
-
- }
- }
-
- private string s1 = "", s2 = "", s3 = "", s4 = "";
- private void textBox1_TextChanged(object sender, EventArgs e)
- {
- string str = textBox1.Text;
- Regex r = new Regex(@"\D");
- if (r.IsMatch(str))
- {
- textBox1.Text = s1;
- }
- else s1 = str;
- }
-
- private void textBox4_TextChanged(object sender, EventArgs e)
- {
- string str = textBox2.Text;
- Regex r = new Regex(@"\D");
- if (r.IsMatch(str))
- {
- textBox2.Text = s2;
- }
- else s2 = str;
- }
-
- private void textBox3_TextChanged(object sender, EventArgs e)
- {
- string str = textBox3.Text;
- Regex r = new Regex(@"\D");
- if (r.IsMatch(str))
- {
- textBox3.Text = s3;
- }
- else s3 = str;
- }
-
- private void textBox2_TextChanged(object sender, EventArgs e)
- {
- string str = textBox4.Text;
- Regex r = new Regex(@"\D");
- if (r.IsMatch(str))
- {
- textBox4.Text = s4;
- }
- else s4 = str;
- }
-
- }
-}
View
120 TennisProject/Form2.resx
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
View
21 TennisProject/Program.cs
@@ -1,21 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Windows.Forms;
-
-namespace TennisProject
-{
- static class Program
- {
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
- }
- }
-}
View
36 TennisProject/Properties/AssemblyInfo.cs
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("TennisProject")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TennisProject")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("28f346dd-f637-45a7-89fd-70304bd9edd1")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
View
63 TennisProject/Properties/Resources.Designer.cs
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// Этот код создан программой.
-// Исполняемая версия:2.0.50727.3074
-//
-// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
-// повторной генерации кода.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace TennisProject.Properties {
- using System;
-
-
- /// <summary>
- /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
- /// </summary>
- // Этот класс создан автоматически классом StronglyTypedResourceBuilder
- // с помощью такого средства, как ResGen или Visual Studio.
- // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
- // с параметром /str или перестройте свой проект VS.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- /// <summary>
- /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TennisProject.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- /// <summary>
- /// Перезаписывает свойство CurrentUICulture текущего потока для всех
- /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
View
121 TennisProject/Properties/Resources.resx
@@ -1,121 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-</root>
View
30 TennisProject/Properties/Settings.Designer.cs
@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.3074
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace TennisProject.Properties
-{
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
View
7 TennisProject/Properties/Settings.settings
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
- <Profiles>
- <Profile Name="(Default)" />
- </Profiles>
- <Settings />
-</SettingsFile>
View
BIN  TennisProject/Resources/Video/1.wmv
Binary file not shown
View
102 TennisProject/TennisProject.csproj
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{6942BAE1-2F76-4D21-B164-A8AB493C9153}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>TennisProject</RootNamespace>
- <AssemblyName>TennisProject</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Microsoft.DirectX.AudioVideoPlayback, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Deployment" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Form1.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="Form1.Designer.cs">
- <DependentUpon>Form1.cs</DependentUpon>
- </Compile>
- <Compile Include="Form2.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="Form2.Designer.cs">
- <DependentUpon>Form2.cs</DependentUpon>
- </Compile>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <EmbeddedResource Include="Form1.resx">
- <DependentUpon>Form1.cs</DependentUpon>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <EmbeddedResource Include="Form2.resx">
- <DependentUpon>Form2.cs</DependentUpon>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <EmbeddedResource Include="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- <DesignTime>True</DesignTime>
- </Compile>
- <None Include="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- <Compile Include="Properties\Settings.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
View
5 TennisProject/TennisProject.csproj.user
@@ -1,5 +0,0 @@
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <ProjectView>ShowAllFiles</ProjectView>
- </PropertyGroup>
-</Project>
View
BIN  TennisProject/bin/Debug/TennisProject.exe
Binary file not shown
View
BIN  TennisProject/bin/Debug/TennisProject.pdb
Binary file not shown
View
BIN  TennisProject/bin/Debug/TennisProject.vshost.exe
Binary file not shown
View
11 TennisProject/bin/Debug/TennisProject.vshost.exe.manifest
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
- <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
- <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
- <security>
- <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
- <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
- </requestedPrivileges>
- </security>
- </trustInfo>
-</assembly>
View
BIN  TennisProject/bin/Debug/video/1.wmv
Binary file not shown
View
BIN  TennisProject/bin/Release/TennisProject.vshost.exe
Binary file not shown
View
11 TennisProject/bin/Release/TennisProject.vshost.exe.manifest
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
- <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
- <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
- <security>
- <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
- <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
- </requestedPrivileges>
- </security>
- </trustInfo>
-</assembly>
View
BIN  TennisProject/obj/Debug/ResolveAssemblyReference.cache
Binary file not shown
View
BIN  TennisProject/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
Binary file not shown
View
BIN  TennisProject/obj/Debug/TennisProject.Form1.resources
Binary file not shown
View
BIN  TennisProject/obj/Debug/TennisProject.Form2.resources
Binary file not shown
View
BIN  TennisProject/obj/Debug/TennisProject.Properties.Resources.resources
Binary file not shown
View
18 TennisProject/obj/Debug/TennisProject.csproj.FileListAbsolute.txt
@@ -1,18 +0,0 @@
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\bin\Debug\TennisProject.exe
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\bin\Debug\TennisProject.pdb
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\obj\Debug\ResolveAssemblyReference.cache
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\obj\Debug\TennisProject.Form1.resources
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\obj\Debug\TennisProject.Properties.Resources.resources
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\obj\Debug\TennisProject.csproj.GenerateResource.Cache
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\obj\Debug\TennisProject.exe
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\obj\Debug\TennisProject.pdb
-C:\Users\Мобилочка\Documents\Visual Studio 2008\Projects\TennisProject\TennisProject\obj\Debug\TennisProject.Form2.resources
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\obj\Debug\TennisProject.exe
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\obj\Debug\TennisProject.pdb
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\bin\Debug\TennisProject.exe
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\bin\Debug\TennisProject.pdb
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\obj\Debug\ResolveAssemblyReference.cache
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\obj\Debug\TennisProject.Form1.resources
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\obj\Debug\TennisProject.Form2.resources
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\obj\Debug\TennisProject.Properties.Resources.resources
-C:\Users\Bogush\Desktop\TennisProject\TennisProject\obj\Debug\TennisProject.csproj.GenerateResource.Cache
View
BIN  TennisProject/obj/Debug/TennisProject.csproj.GenerateResource.Cache
Binary file not shown
View
BIN  TennisProject/obj/Debug/TennisProject.exe
Binary file not shown
View
BIN  TennisProject/obj/Debug/TennisProject.pdb
Binary file not shown
View
BIN  TennisProject/obj/Release/TempPE/Properties.Resources.Designer.cs.dll
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.