public Form1() { InitializeComponent(); db = new MysqlClass(); //dbzugriff = new dbConnection(); //dbzugriff.openConnection(); /*Uninvite test = new Uninvite(); * test.Show();*/ if (!IsRunningAsAdministrator()) { ProcessStartInfo processStartInfo = new ProcessStartInfo(Assembly.GetEntryAssembly().CodeBase); processStartInfo.UseShellExecute = true; processStartInfo.Verb = "runas"; this.Hide(); Process.Start(processStartInfo); Process.GetCurrentProcess().Kill(); Application.Exit(); } spreadsheetapi loading = new spreadsheetapi(); }
public Schwarzes_Brett() { InitializeComponent(); db = new MysqlClass(); Rechte_Check(); Header(); Content(); timer1.Interval = 60000; timer1.Start(); }
public Changelog() { InitializeComponent(); db = new MysqlClass(); Generate_Richtextbox(); Generate_Changelogwriting(); Fill_Changelog(); if (Form1.admin == 1) { menuStrip1.Visible = true; } }
public Dienstblatt() { InitializeComponent(); spreadsheetapi google = new spreadsheetapi(); db = new MysqlClass(); // Lade notwendigen Ausgaben am Anfang Einsatztelefone(); // Lade Einsatztelefone Load_Database(); Load_SB(); // Lade Schwarzes Brett Load_DB(); // Lade das Dienstblatt Load_Status(); // lade Status in die Combobox1 }
public Custominputbox(Verwaltung_Manage u) { InitializeComponent(); db = new MysqlClass(); x = u; }