Projekte können nun erzeugt werden und geladen werden
This commit is contained in:
30
SanSystem/FrmNewProjekt.cs
Normal file
30
SanSystem/FrmNewProjekt.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using KlassenBIB;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SanSystem
|
||||
{
|
||||
public partial class FrmNewProjekt : Form
|
||||
{
|
||||
public FrmNewProjekt()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void btn_save_Click(object sender, EventArgs e)
|
||||
{
|
||||
Projekt projekt = new Projekt();
|
||||
projekt.Nummer = txt_pro_nr.Text;
|
||||
projekt.Ort = txt_ort.Text;
|
||||
Global.Instance.SetProjekt(projekt);
|
||||
//Global.Instance.ChangeProjekt(txt_pro_nr.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user