diff --git a/BizHawk.MultiClient/PlayMovie.Designer.cs b/BizHawk.MultiClient/PlayMovie.Designer.cs index b5da662b4b..f4118657dd 100644 --- a/BizHawk.MultiClient/PlayMovie.Designer.cs +++ b/BizHawk.MultiClient/PlayMovie.Designer.cs @@ -30,6 +30,7 @@ { this.Cancel = new System.Windows.Forms.Button(); this.OK = new System.Windows.Forms.Button(); + this.BrowseMovies = new System.Windows.Forms.Button(); this.SuspendLayout(); // // Cancel @@ -55,6 +56,16 @@ this.OK.UseVisualStyleBackColor = true; this.OK.Click += new System.EventHandler(this.OK_Click); // + // BrowseMovies + // + this.BrowseMovies.Location = new System.Drawing.Point(234, 34); + this.BrowseMovies.Name = "BrowseMovies"; + this.BrowseMovies.Size = new System.Drawing.Size(75, 23); + this.BrowseMovies.TabIndex = 2; + this.BrowseMovies.Text = "Browse..."; + this.BrowseMovies.UseVisualStyleBackColor = true; + this.BrowseMovies.Click += new System.EventHandler(this.BrowseMovies_Click); + // // PlayMovie // this.AcceptButton = this.OK; @@ -62,6 +73,7 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.Cancel; this.ClientSize = new System.Drawing.Size(321, 290); + this.Controls.Add(this.BrowseMovies); this.Controls.Add(this.OK); this.Controls.Add(this.Cancel); this.MaximizeBox = false; @@ -76,5 +88,6 @@ private System.Windows.Forms.Button Cancel; private System.Windows.Forms.Button OK; + private System.Windows.Forms.Button BrowseMovies; } } \ No newline at end of file diff --git a/BizHawk.MultiClient/PlayMovie.cs b/BizHawk.MultiClient/PlayMovie.cs index 091da4d312..a776e53384 100644 --- a/BizHawk.MultiClient/PlayMovie.cs +++ b/BizHawk.MultiClient/PlayMovie.cs @@ -11,6 +11,9 @@ namespace BizHawk.MultiClient { public partial class PlayMovie : Form { + //TODO: Think about this: .\Movies is the default folder, when shoudl this be created? On load (no platform specific folders do this) + //Upon open file dialog? that's weird, record movie? more often people will use play movie first + //Never? then the path default must be .\ not .\movies public PlayMovie() { InitializeComponent(); @@ -25,5 +28,15 @@ namespace BizHawk.MultiClient { this.Close(); } + + private void BrowseMovies_Click(object sender, EventArgs e) + { + OpenFileDialog o = new OpenFileDialog(); + o.InitialDirectory = PathManager.MakeAbsolutePath(Global.Config.MoviesPath); + if (o.ShowDialog() == DialogResult.OK) + { + + } + } } }