Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9216f7bc9 | ||
|
|
61a7f1ff7b | ||
|
|
3d1105a614 |
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BlubbFish.Utils {
|
||||
public class UpdaterEventArgs : EventArgs {
|
||||
|
||||
@@ -77,6 +77,13 @@ namespace BlubbFish.Utils
|
||||
return this.cont.Keys.ToList<String>();
|
||||
}
|
||||
|
||||
public Dictionary<String, String> GetSection(String section) {
|
||||
if(this.cont.Keys.Contains(section)) {
|
||||
return this.cont[section];
|
||||
}
|
||||
return new Dictionary<string, string>();
|
||||
}
|
||||
|
||||
public String GetValue(String section, String key)
|
||||
{
|
||||
if (!section.StartsWith("[")) {
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BlubbFish.Utils
|
||||
{
|
||||
|
||||
+2
-4
@@ -7,9 +7,7 @@ using System.Threading.Tasks;
|
||||
namespace BlubbFish.Utils {
|
||||
public abstract class OwnView {
|
||||
|
||||
protected OwnView() {
|
||||
this.Init();
|
||||
}
|
||||
protected OwnView() { }
|
||||
/// <summary>
|
||||
/// Called if the Oberver (Model) updates its View
|
||||
/// </summary>
|
||||
@@ -17,7 +15,7 @@ namespace BlubbFish.Utils {
|
||||
/// <summary>
|
||||
/// Called if view is viewed
|
||||
/// </summary>
|
||||
protected abstract void Init();
|
||||
//protected abstract void Init();
|
||||
/// <summary>
|
||||
/// Called if Form is Disposed
|
||||
/// </summary>
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.4.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.4.0")]
|
||||
[assembly: AssemblyVersion("1.0.5.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.5.0")]
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user