Started Rust Development #10
@@ -79,6 +79,7 @@ $REMOTEButton = New-Object System.Windows.Forms.Button
|
||||
$LAPSButton = New-Object System.Windows.Forms.Button
|
||||
$CLUButton = 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
|
||||
$label18 = New-Object System.Windows.Forms.Label
|
||||
$tabPage3 = New-Object System.Windows.Forms.TabPage
|
||||
@@ -607,6 +608,7 @@ $groupBox2.Controls.Add($LAPSButton)
|
||||
$groupBox2.Controls.Add($CLUButton)
|
||||
$groupBox2.Controls.Add($CFEButton)
|
||||
$groupBox2.Controls.Add($textBox1)
|
||||
$groupBox2.Controls.Add($SCCMButton)
|
||||
$groupBox2.Controls.Add($label18)
|
||||
$groupBox2.Location = New-Object System.Drawing.Point(8, 6)
|
||||
$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.Location = New-Object System.Drawing.Point(6, 36)
|
||||
|
||||
Generated
+5185
File diff suppressed because it is too large
Load Diff
+20
@@ -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
|
||||
@@ -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();
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user