Added SCCM Log Parse Button

This commit is contained in:
brotoskyj
2025-01-24 10:52:05 -05:00
parent 1d7764bc80
commit a703ec3149
6 changed files with 5246 additions and 0 deletions
+16
View File
@@ -79,6 +79,7 @@ $REMOTEButton = New-Object System.Windows.Forms.Button
$LAPSButton = New-Object System.Windows.Forms.Button $LAPSButton = New-Object System.Windows.Forms.Button
$CLUButton = New-Object System.Windows.Forms.Button $CLUButton = New-Object System.Windows.Forms.Button
$CFEButton = New-Object System.Windows.Forms.Button $CFEButton = New-Object System.Windows.Forms.Button
$SCCMButton = New-Object System.Windows.Forms.Button
$textBox1 = New-Object System.Windows.Forms.TextBox $textBox1 = New-Object System.Windows.Forms.TextBox
$label18 = New-Object System.Windows.Forms.Label $label18 = New-Object System.Windows.Forms.Label
$tabPage3 = New-Object System.Windows.Forms.TabPage $tabPage3 = New-Object System.Windows.Forms.TabPage
@@ -607,6 +608,7 @@ $groupBox2.Controls.Add($LAPSButton)
$groupBox2.Controls.Add($CLUButton) $groupBox2.Controls.Add($CLUButton)
$groupBox2.Controls.Add($CFEButton) $groupBox2.Controls.Add($CFEButton)
$groupBox2.Controls.Add($textBox1) $groupBox2.Controls.Add($textBox1)
$groupBox2.Controls.Add($SCCMButton)
$groupBox2.Controls.Add($label18) $groupBox2.Controls.Add($label18)
$groupBox2.Location = New-Object System.Drawing.Point(8, 6) $groupBox2.Location = New-Object System.Drawing.Point(8, 6)
$groupBox2.Name = "groupBox2" $groupBox2.Name = "groupBox2"
@@ -715,6 +717,20 @@ $CFEButton.Add_Click(
} }
) )
# #
# SCCM Log Parse Button
#
#
$SCCMButton.Location = New-Object System.Drawing.Point(172, 191)
$SCCMButton.Name = "SCCMLogParser"
$SCCMButton.Size = New-Object System.Drawing.Size(200, 30)
$SCCMButton.TabIndex = 37
$SCCMButton.Text = "SCCM Log Parser"
$SCCMButton.UseVisualStyleBackColor = $true
$SCCMButton.Add_Click(
{
SCCMLogParse
}
)
# textBox1 # textBox1
# #
$textBox1.Location = New-Object System.Drawing.Point(6, 36) $textBox1.Location = New-Object System.Drawing.Point(6, 36)
Generated
+5185
View File
File diff suppressed because it is too large Load Diff
+20
View File
@@ -0,0 +1,20 @@
[package]
name = "champ"
version = "0.1.0"
edition = "2021"
[dependencies]
slint = "1.9.2"
[build-dependencies]
slint-build = "1.9.2"
[profile.release]
opt-level = "z"
lto = "fat"
debug = false
codegen-units = 1
panic = 'abort'
strip = true
debug-assertions = false
overflow-checks = false
+5
View File
@@ -0,0 +1,5 @@
fn main() {
let config = slint_build::CompilerConfiguration::new()
.with_style("cosmic-dark".into());
slint_build::compile_with_config("ui/template.slint", config).unwrap();
}
+8
View File
@@ -0,0 +1,8 @@
slint::slint!();
slint::include_modules!();
fn main() {
let app: MainWindow = MainWindow::new().unwrap();
let _weak = app.as_weak();
app.run().unwrap();
}
+12
View File
@@ -0,0 +1,12 @@
import { AboutSlint, VerticalBox } from "std-widgets.slint";
export component MainWindow inherits Window {
VerticalBox {
Text {
text: "Hello World!";
}
AboutSlint {
preferred-height: 150px;
}
}
}