Imports System.Data Imports System.Data.SqlTypes Imports System.Data.SqlClient Imports System.ComponentModel Imports System.Drawing Imports System.Drawing.Color Public Class frmStatusSetzen Inherits System.Windows.Forms.Form #Region " Vom Windows Form Designer generierter Code " Public Sub New() MyBase.New() ' Dieser Aufruf ist für den Windows Form-Designer erforderlich. InitializeComponent() ' Initialisierungen nach dem Aufruf InitializeComponent() hinzufügen End Sub ' Die Form überschreibt den Löschvorgang der Basisklasse, um Komponenten zu bereinigen. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub ' Für Windows Form-Designer erforderlich Private components As System.ComponentModel.IContainer 'HINWEIS: Die folgende Prozedur ist für den Windows Form-Designer erforderlich 'Sie kann mit dem Windows Form-Designer modifiziert werden. 'Verwenden Sie nicht den Code-Editor zur Bearbeitung. Friend WithEvents ToolBar1 As System.Windows.Forms.ToolBar Friend WithEvents ImageList1 As System.Windows.Forms.ImageList Friend WithEvents ToolBarButton1 As System.Windows.Forms.ToolBarButton Friend WithEvents TextBox1 As System.Windows.Forms.TextBox Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents TabControl1 As System.Windows.Forms.TabControl Friend WithEvents TabPage1 As System.Windows.Forms.TabPage Friend WithEvents TabPage2 As System.Windows.Forms.TabPage Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents cbVerantwortlich As System.Windows.Forms.ComboBox Friend WithEvents TextBox2 As System.Windows.Forms.TextBox Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox Friend WithEvents Statuslist As C1.Win.C1TrueDBGrid.C1TrueDBGrid Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox Friend WithEvents txtLoeschgrund As System.Windows.Forms.TextBox Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox Friend WithEvents CheckBox2 As System.Windows.Forms.CheckBox Friend WithEvents Button3 As System.Windows.Forms.Button Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmStatusSetzen)) Dim GridLines1 As C1.Win.C1TrueDBGrid.Util.GridLines = New C1.Win.C1TrueDBGrid.Util.GridLines() Me.ToolBar1 = New System.Windows.Forms.ToolBar() Me.ToolBarButton1 = New System.Windows.Forms.ToolBarButton() Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components) Me.TextBox1 = New System.Windows.Forms.TextBox() Me.Label1 = New System.Windows.Forms.Label() Me.TabControl1 = New System.Windows.Forms.TabControl() Me.TabPage1 = New System.Windows.Forms.TabPage() Me.Button3 = New System.Windows.Forms.Button() Me.Button1 = New System.Windows.Forms.Button() Me.Label5 = New System.Windows.Forms.Label() Me.cbVerantwortlich = New System.Windows.Forms.ComboBox() Me.TextBox2 = New System.Windows.Forms.TextBox() Me.Label2 = New System.Windows.Forms.Label() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.Statuslist = New C1.Win.C1TrueDBGrid.C1TrueDBGrid() Me.TabPage2 = New System.Windows.Forms.TabPage() Me.CheckBox2 = New System.Windows.Forms.CheckBox() Me.CheckBox1 = New System.Windows.Forms.CheckBox() Me.Label6 = New System.Windows.Forms.Label() Me.Button2 = New System.Windows.Forms.Button() Me.Label3 = New System.Windows.Forms.Label() Me.ComboBox1 = New System.Windows.Forms.ComboBox() Me.txtLoeschgrund = New System.Windows.Forms.TextBox() Me.Label4 = New System.Windows.Forms.Label() Me.TabControl1.SuspendLayout() Me.TabPage1.SuspendLayout() Me.GroupBox1.SuspendLayout() CType(Me.Statuslist, System.ComponentModel.ISupportInitialize).BeginInit() Me.TabPage2.SuspendLayout() Me.SuspendLayout() ' 'ToolBar1 ' Me.ToolBar1.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.ToolBarButton1}) Me.ToolBar1.DropDownArrows = True Me.ToolBar1.ImageList = Me.ImageList1 Me.ToolBar1.Name = "ToolBar1" Me.ToolBar1.ShowToolTips = True Me.ToolBar1.Size = New System.Drawing.Size(610, 25) Me.ToolBar1.TabIndex = 0 ' 'ToolBarButton1 ' Me.ToolBarButton1.ImageIndex = 0 ' 'ImageList1 ' Me.ImageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16) Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer) Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent ' 'TextBox1 ' Me.TextBox1.Location = New System.Drawing.Point(88, 40) Me.TextBox1.Name = "TextBox1" Me.TextBox1.ReadOnly = True Me.TextBox1.Size = New System.Drawing.Size(160, 20) Me.TextBox1.TabIndex = 1 Me.TextBox1.Text = "TextBox1" ' 'Label1 ' Me.Label1.Location = New System.Drawing.Point(8, 40) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(72, 23) Me.Label1.TabIndex = 2 Me.Label1.Text = "Dokument-ID" ' 'TabControl1 ' Me.TabControl1.Controls.AddRange(New System.Windows.Forms.Control() {Me.TabPage1, Me.TabPage2}) Me.TabControl1.Location = New System.Drawing.Point(8, 72) Me.TabControl1.Name = "TabControl1" Me.TabControl1.SelectedIndex = 0 Me.TabControl1.Size = New System.Drawing.Size(592, 272) Me.TabControl1.TabIndex = 3 ' 'TabPage1 ' Me.TabPage1.Controls.AddRange(New System.Windows.Forms.Control() {Me.Button3, Me.Button1, Me.Label5, Me.cbVerantwortlich, Me.TextBox2, Me.Label2, Me.GroupBox1}) Me.TabPage1.Location = New System.Drawing.Point(4, 22) Me.TabPage1.Name = "TabPage1" Me.TabPage1.Size = New System.Drawing.Size(584, 246) Me.TabPage1.TabIndex = 0 Me.TabPage1.Text = "Status setzen" ' 'Button3 ' Me.Button3.Location = New System.Drawing.Point(424, 208) Me.Button3.Name = "Button3" Me.Button3.Size = New System.Drawing.Size(136, 23) Me.Button3.TabIndex = 20 Me.Button3.Text = "Dokument positionieren" ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(472, 184) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(88, 23) Me.Button1.TabIndex = 19 Me.Button1.Text = "Status setzen" ' 'Label5 ' Me.Label5.Location = New System.Drawing.Point(8, 208) Me.Label5.Name = "Label5" Me.Label5.TabIndex = 18 Me.Label5.Text = "Verantwortlicher" ' 'cbVerantwortlich ' Me.cbVerantwortlich.ItemHeight = 13 Me.cbVerantwortlich.Location = New System.Drawing.Point(112, 208) Me.cbVerantwortlich.Name = "cbVerantwortlich" Me.cbVerantwortlich.Size = New System.Drawing.Size(248, 21) Me.cbVerantwortlich.TabIndex = 17 ' 'TextBox2 ' Me.TextBox2.Location = New System.Drawing.Point(112, 184) Me.TextBox2.Name = "TextBox2" Me.TextBox2.ReadOnly = True Me.TextBox2.Size = New System.Drawing.Size(248, 20) Me.TextBox2.TabIndex = 16 Me.TextBox2.Text = "" ' 'Label2 ' Me.Label2.Location = New System.Drawing.Point(8, 184) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(104, 16) Me.Label2.TabIndex = 15 Me.Label2.Text = "Status zum Setzen:" ' 'GroupBox1 ' Me.GroupBox1.Controls.AddRange(New System.Windows.Forms.Control() {Me.Statuslist}) Me.GroupBox1.Location = New System.Drawing.Point(8, 16) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(560, 160) Me.GroupBox1.TabIndex = 14 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "Aktuelle Dokumentstatus" ' 'Statuslist ' Me.Statuslist.AllowArrows = False Me.Statuslist.AllowFilter = True Me.Statuslist.AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.AllRows Me.Statuslist.AllowSort = True Me.Statuslist.BackColor = System.Drawing.Color.White Me.Statuslist.BorderStyle = System.Windows.Forms.BorderStyle.None Me.Statuslist.CaptionHeight = 17 Me.Statuslist.CollapseColor = System.Drawing.Color.Transparent Me.Statuslist.DataChanged = False Me.Statuslist.DeadAreaBackColor = System.Drawing.Color.Empty Me.Statuslist.Dock = System.Windows.Forms.DockStyle.Fill Me.Statuslist.ExpandColor = System.Drawing.Color.Transparent Me.Statuslist.GroupByCaption = "Drag a column header here to group by that column" Me.Statuslist.Images.Add(CType(resources.GetObject("resource.Images"), System.Drawing.Bitmap)) Me.Statuslist.Location = New System.Drawing.Point(3, 16) Me.Statuslist.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.DottedCellBorder Me.Statuslist.Name = "Statuslist" Me.Statuslist.PreviewInfo.Location = New System.Drawing.Point(0, 0) Me.Statuslist.PreviewInfo.Size = New System.Drawing.Size(0, 0) Me.Statuslist.PreviewInfo.ZoomFactor = 75 Me.Statuslist.PrintInfo.ShowOptionsDialog = False Me.Statuslist.RecordSelectorWidth = 16 GridLines1.Color = System.Drawing.Color.DarkGray GridLines1.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.Single Me.Statuslist.RowDivider = GridLines1 Me.Statuslist.RowHeight = 15 Me.Statuslist.RowSubDividerColor = System.Drawing.Color.Transparent Me.Statuslist.ScrollTips = False Me.Statuslist.Size = New System.Drawing.Size(554, 141) Me.Statuslist.TabIndex = 4 Me.Statuslist.Text = "C1TrueDBGrid1" Me.Statuslist.PropBag = "Group{AlignVert:Center;Border:None,,0, 0, 0, 0;BackColor:ControlDark;}E" & _ "ditor{}Style2{}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:Aqua;}Selected{" & _ "ForeColor:HighlightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:Inactive" & _ "CaptionText;BackColor:InactiveCaption;}FilterBar{}Footer{}Caption{AlignHorz:Cent" & _ "er;}Normal{BackColor:White;}HighlightRow{ForeColor:HighlightText;BackColor:Highl" & _ "ight;}Style1{}OddRow{}RecordSelector{AlignImage:Center;}Heading{Wrap:True;BackCo" & _ "lor:Control;Border:Raised,,1, 1, 1, 1;ForeColor:ControlText;AlignVert:Center;}St" & _ "yle8{}Style10{AlignHorz:Near;}Style11{}Style12{}Style13{}Style9{}0, 0, 554, 1410