BugFix
dies behebt den bug, dass der einfriert wenn man eine neue leitung schließt und wieder öffnet
This commit is contained in:
@@ -9,6 +9,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using SanShared;
|
||||
using System.Collections;
|
||||
|
||||
namespace SanSystem
|
||||
{
|
||||
@@ -47,13 +48,20 @@ namespace SanSystem
|
||||
}
|
||||
}
|
||||
|
||||
if (Environment.MachineName.Equals("MEVES-LT"))
|
||||
{
|
||||
this.Width = 1512;
|
||||
this.Height = 907;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void frmObjektEdit_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
txt_laenge_schacht.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Schachtlaenge"));
|
||||
txt_objekt_name.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Objektbezeichnung"));
|
||||
|
||||
txt_punkt_von.DataBindings.Add(new Binding("Text", inspektionsobjekt, "VonPunkt"));
|
||||
txt_punkt_bis.DataBindings.Add(new Binding("Text", inspektionsobjekt, "BisPunkt"));
|
||||
txt_strasse.DataBindings.Add(new Binding("Text", inspektionsobjekt, "StrasseName"));
|
||||
@@ -87,6 +95,10 @@ namespace SanSystem
|
||||
|
||||
private void btn_close_Click(object sender, EventArgs e)
|
||||
{
|
||||
int width = this.Width;
|
||||
int height = this.Height;
|
||||
dt_haltunggemessen_datum.DataBindings.Clear();
|
||||
//MessageBox.Show(string.Format("width: {0} height: {1}", width, height));
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user