update 20241201
This commit is contained in:
48
Client - Kopie/Backup/DocMgmt/Serienbrief_Sheetselect.cs
Normal file
48
Client - Kopie/Backup/DocMgmt/Serienbrief_Sheetselect.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
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;
|
||||
using OnDoc.Klassen;
|
||||
using Syncfusion.Windows.Forms.Tools;
|
||||
using Syncfusion.WinForms.Controls;
|
||||
using Syncfusion.WinForms.DataGrid;
|
||||
using Syncfusion.WinForms.DataGrid.Interactivity;
|
||||
|
||||
namespace OnDoc.DocMgmt
|
||||
{
|
||||
public partial class Serienbrief_Sheetselect : SfForm
|
||||
{
|
||||
List<string> sheets { get; set; }
|
||||
public Serienbrief_Sheetselect()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
||||
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
||||
}
|
||||
|
||||
public Serienbrief_Sheetselect(List<string> sheets)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.sheets = sheets;
|
||||
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
||||
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
||||
}
|
||||
|
||||
|
||||
private void Serienbrief_Sheetselect_Load(object sender, EventArgs e)
|
||||
{
|
||||
ListViewSheets.DataSource = sheets;
|
||||
ListViewSheets.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
public string get_selected_sheet()
|
||||
{
|
||||
return ListViewSheets.SelectedItem.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user