diff options
author | brianmario <[email protected]> | 2007-07-11 02:24:48 +0000 |
---|---|---|
committer | brianmario <[email protected]> | 2007-07-11 02:24:48 +0000 |
commit | 1f013f7fed5b0103afe4e33a860be91b2e94f660 (patch) | |
tree | 752287ade8c65dc22edac75af53d526081869d11 /win/C#/frmMain.cs | |
parent | ec8aaeacdf2eebb162abb54f419035e10cdd2e73 (diff) |
updated some Form.Show calls to Form.ShowDialog
updating frmReadDVD to throw CLI call on it's own thread to prevent UI lockup
added ToString overrides in Parsing.AudioTrack, Parsing.Subtitle and Parsing.Title
misc interface/notification updates to frmReadDVD upon starting the scan process
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@671 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 471e61a3f..09954b293 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -339,7 +339,7 @@ namespace Handbrake private void mnu_update_Click(object sender, EventArgs e)
{
Form Update = new frmUpdate();
- Update.Show();
+ Update.ShowDialog();
}
private void mnu_exit_Click(object sender, EventArgs e)
@@ -351,7 +351,7 @@ namespace Handbrake private void mnu_encode_Click(object sender, EventArgs e)
{
Form Queue = new frmQueue();
- Queue.Show();
+ Queue.ShowDialog();
}
private void mnu_viewDVDdata_Click(object sender, EventArgs e)
@@ -363,7 +363,7 @@ namespace Handbrake private void mnu_options_Click(object sender, EventArgs e)
{
Form Options = new frmOptions();
- Options.Show();
+ Options.ShowDialog();
}
// PRESETS MENU --------------------------------------------------------------
@@ -516,7 +516,7 @@ namespace Handbrake private void mnu_about_Click(object sender, EventArgs e)
{
Form About = new frmAbout();
- About.Show();
+ About.ShowDialog();
}
@@ -536,8 +536,8 @@ namespace Handbrake if (filename != "")
{
text_source.Text = filename;
- Form frmReadDVD = new frmReadDVD(filename, (frmMain)frmMain.ActiveForm);
- frmReadDVD.Show();
+ Form frmReadDVD = new frmReadDVD(filename, this);
+ frmReadDVD.ShowDialog();
}
}
@@ -548,8 +548,8 @@ namespace Handbrake if (filename != "")
{
text_source.Text = filename;
- Form frmReadDVD = new frmReadDVD(filename, (frmMain)frmMain.ActiveForm);
- frmReadDVD.Show();
+ Form frmReadDVD = new frmReadDVD(filename, this);
+ frmReadDVD.ShowDialog();
}
}
|