Div
This commit is contained in:
parent
bfbfbaf29b
commit
c87d7cc450
8
AA-Forms/FormKamera.Designer.cs
generated
8
AA-Forms/FormKamera.Designer.cs
generated
@ -36,10 +36,13 @@
|
||||
//
|
||||
// pictureBoxKamera
|
||||
//
|
||||
this.pictureBoxKamera.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pictureBoxKamera.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBoxKamera.Location = new System.Drawing.Point(0, 0);
|
||||
this.pictureBoxKamera.Name = "pictureBoxKamera";
|
||||
this.pictureBoxKamera.Size = new System.Drawing.Size(584, 316);
|
||||
this.pictureBoxKamera.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBoxKamera.TabIndex = 0;
|
||||
this.pictureBoxKamera.TabStop = false;
|
||||
//
|
||||
@ -68,7 +71,10 @@
|
||||
this.ClientSize = new System.Drawing.Size(584, 362);
|
||||
this.Controls.Add(this.buttonHand);
|
||||
this.Controls.Add(this.pictureBoxKamera);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FormKamera";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "KAMERA";
|
||||
|
||||
@ -36,6 +36,7 @@ namespace Deckungsbeitrag
|
||||
|
||||
private void FormKamera_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
barcodeReader = new BarcodeReader();
|
||||
|
||||
videoSource = new VideoCaptureDevice(videoDevices[0].MonikerString);
|
||||
|
||||
@ -33,6 +33,7 @@ namespace Deckungsbeitrag
|
||||
int j = 0;
|
||||
public bool printOK;
|
||||
public static bool _nocont;
|
||||
|
||||
public Funktionen()
|
||||
{
|
||||
}
|
||||
@ -510,13 +511,6 @@ namespace Deckungsbeitrag
|
||||
else return null;
|
||||
}
|
||||
|
||||
public static Auftrag Kunde_unbekannt(int aID)
|
||||
{
|
||||
Auftrag auf = null;
|
||||
|
||||
return auf;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Die Kundenauswahl erfolgt durch Handeingabe oder Scan mit integrierter Kamera.
|
||||
/// Wenn Kamera vorhanden und trotzdem Handeingabe notwendig, dann Button klicken.
|
||||
@ -525,9 +519,12 @@ namespace Deckungsbeitrag
|
||||
public static Kunde KundenAuswahl()
|
||||
{
|
||||
videoDevices = new FilterInfoCollection(FilterCategory.VideoInputDevice);
|
||||
|
||||
// Wenn Kamera Screen nicht verfügbar sein soll, muss videoDevices null sein.
|
||||
videoDevices = null;
|
||||
Kunde kunde;
|
||||
|
||||
if (videoDevices.Count == 0)
|
||||
if (videoDevices == null)
|
||||
{
|
||||
kunde = Open_List();
|
||||
}
|
||||
@ -610,8 +607,7 @@ namespace Deckungsbeitrag
|
||||
Image img = null;
|
||||
BarcodeWriter code = new BarcodeWriter();
|
||||
code.Format = BarcodeFormat.QR_CODE;
|
||||
if (auftrag != null) img = code.Write(auftrag.AuftragID.ToString() + "§");
|
||||
else img = code.Write(kunde.KundeNummer.ToString() + "§");
|
||||
img = code.Write(kunde.KundeNummer.ToString());
|
||||
//img = code.Write(auftrag.AuftragID + "," + kunde.KundeNummer + "," + auftrag.Liefertag.ToShortDateString());
|
||||
|
||||
return img;
|
||||
|
||||
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.1")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.1")]
|
||||
[assembly: AssemblyVersion("1.0.0.4")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.4")]
|
||||
|
||||
@ -5,8 +5,6 @@ VisualStudioVersion = 17.3.32922.545
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Verwaltung", "Verwaltung.csproj", "{1CDFBC6A-240A-4D59-9F9E-35041D9ACCC6}"
|
||||
EndProject
|
||||
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Verwaltung", "..\Verwaltung\Verwaltung.vdproj", "{568F1CAE-A5FA-75E5-7067-AE6211E81E06}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -17,8 +15,6 @@ Global
|
||||
{1CDFBC6A-240A-4D59-9F9E-35041D9ACCC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1CDFBC6A-240A-4D59-9F9E-35041D9ACCC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1CDFBC6A-240A-4D59-9F9E-35041D9ACCC6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{568F1CAE-A5FA-75E5-7067-AE6211E81E06}.Debug|Any CPU.ActiveCfg = Debug
|
||||
{568F1CAE-A5FA-75E5-7067-AE6211E81E06}.Release|Any CPU.ActiveCfg = Release
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user