alAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Mounter id Height= 28 HorizontalAlignment= Left Margin= 6,151,0,0 Name= label18 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Time Height= 28 HorizontalAlignment= Left Margin= 6,6,0,0 Name= label19 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Date Height= 28 HorizontalAlignment= Left Margin= 6,35,0,0 Name= label20 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Smena Height= 28 HorizontalAlignment= Left Margin= 6,64,0,0 Name= label21 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Board id Height= 28 HorizontalAlignment= Left Margin= 6,93,0,0 Name= label22 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Mounter id Height= 28 HorizontalAlignment= Left Margin= 6,122,0,0 Name= label23 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Printer id Height= 28 HorizontalAlignment= Left Margin= 6,151,0,0 Name= label24 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Label Content= Staff id Height= 28 HorizontalAlignment= Left Margin= 6,151,0,0 Name= label25 VerticalAlignment= Top Width= 94 Visibility= Hidden / gt;
lt; Button Content= Додати Height= 23 HorizontalAlignment= Left Margin= 328,150,0,0 Name= addBtn VerticalAlignment= Top Width= 75 Click= addBtn_Click / gt;
lt;/Grid gt;
lt;/Grid gt;
lt;/Window gt;
8.2.2 Файл вихідного коду add. xaml. cs
using System; System. Collections. Generic; System. Linq; System. Text; System. Windows; System. Windows. Controls; System. Windows. Data; System. Windows. Documents; System. Windows. Input; System. Windows. Media; System. Windows. Media. Imaging; System. Windows. Shapes; System. Data; System. Data. SqlClient; Motherboard
{
/// lt; summary gt;
///Логіка взаємодії для add. xaml
/// lt;/summary gt; partial class add: Window
{public string tblName; add (string tableName)
{();=tableName; (tblName);
} void createrControls (string tableName)
{(tableName)
{ Printers :
{. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible; _id. Visibility=Visibility. Visible; _printer. Visibility=Visibility. Visible; _printer. Visibility=Visibility. Visible ;;
} Mounters :
{. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible; _id. Visibility=Visibility. Visible; _mounter. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;;
} Staff :
{. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible; _id. Visibility=Visibility. Visible; _name. Visibility=Visibility. Visible; _name. Visibility=Visibility. Visible ;;
} Customers :
{. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible; _id. Visibility=Visibility. Visible; _customer. Visibility=Visibility. Visible ;;
} Boards :
{. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible; _id. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible; _board. Visibility=Visibility. Visible; _board. Visibility=Visibility. Visible; _board. Visibility=Visibility. Visible ;;
} Assemblies :
{. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible; _id_assembl. Visibility=Visibility. Visible; _id_assembl. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;;
} Productions :
{. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;. Visibility=Visibility. Visible ;....