Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigaston committed May 27, 2019
1 parent 28491e7 commit 75bb57f
Show file tree
Hide file tree
Showing 9 changed files with 254 additions and 53 deletions.
290 changes: 241 additions & 49 deletions Form1.Designer.cs

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions Form1.cs
Expand Up @@ -21,7 +21,7 @@ public PodChapter()

private void PodChapter_Load(object sender, EventArgs e)
{

}

int nb_chapitres = 0;
Expand All @@ -31,7 +31,8 @@ private void BtnFolder_Click(object sender, EventArgs e)
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
lblFolder.Text = openFileDialog.FileName;
grpChapitres.Visible = true;
tacMetadata.Visible = true;
btnValide.Visible = true;
}
}

Expand Down Expand Up @@ -210,6 +211,14 @@ private void startCreation()
{
string chapter_string = ";FFMETADATA1" + System.Environment.NewLine;

foreach (Control cont in tabData.Controls)
{
if (cont is TextBox)
{
chapter_string += cont.Tag + "=" + cont.Text;
}
}

int nb = 0;
string title = "";

Expand Down Expand Up @@ -267,7 +276,7 @@ private void startCreation()
File.Delete("audioin.mp3");
File.Delete("audioout.mp3");
File.Delete("metadata.txt");
MessageBox.Show("Chapitres ajoutés avec succès!");
MessageBox.Show("Métadonnés ajoutés avec succès!");

}

Expand Down
2 changes: 1 addition & 1 deletion Form1.resx
Expand Up @@ -124,7 +124,7 @@
<value>510, 28</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>99</value>
<value>25</value>
</metadata>
<metadata name="openFileDialogChapitres.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>325, 28</value>
Expand Down
Binary file modified bin/Debug/PodChapter.exe
Binary file not shown.
Binary file modified bin/Debug/PodChapter.pdb
Binary file not shown.
Binary file modified obj/Debug/PodChapter.csproj.GenerateResource.cache
Binary file not shown.
Binary file modified obj/Debug/PodChapter.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified obj/Debug/PodChapter.exe
Binary file not shown.
Binary file modified obj/Debug/PodChapter.pdb
Binary file not shown.

0 comments on commit 75bb57f

Please sign in to comment.