Search found 28 matches

by hrlarsen
Mon Aug 06, 2018 2:10 am
Forum: PowerShell GUIs
Topic: Style Windows.Forms.Button
Replies: 14
Views: 1627

Re: Style Windows.Forms.Button

okay thanks I will read about that.
by hrlarsen
Sat Aug 04, 2018 12:02 am
Forum: PowerShell GUIs
Topic: Style Windows.Forms.Button
Replies: 14
Views: 1627

Re: Style Windows.Forms.Button

Thanks that help after I look at that. Is there somewhere I can change the settings so I can see all Form code. And not just part off it when I click labels, textboxes in forms and so on. Right now it will unly show the minimum when click on elements, and hide the rest in the gui designer. All the s...
by hrlarsen
Wed Aug 01, 2018 9:49 am
Forum: PowerShell GUIs
Topic: Style Windows.Forms.Button
Replies: 14
Views: 1627

Re: Style Windows.Forms.Button

okay let me try this way. #You have a Form $Form1 = New-Object System.Windows.Forms.Form $Form1.Text = "Form" $Form1.Size = New-Object System.Drawing.Size(600,450) $Form1.StartPosition = "CenterScreen" $Form1.Controls.Add($Form1) #Then you have a Textbox where you can input content $textbox1 = New-O...
by hrlarsen
Wed Aug 01, 2018 2:34 am
Forum: PowerShell GUIs
Topic: Style Windows.Forms.Button
Replies: 14
Views: 1627

Re: Style Windows.Forms.Button

Thanks I have just found it under Toolbox "ElementHost-WPF Control" [/b] About the Toolbox. is it possible to have a centeret content box in a form. And 3 standard button´s to the left outside the Window. Like this: Button 1 (mainBox Standard Default show content Window when form opens) Button 2 (ma...
by hrlarsen
Tue Jul 31, 2018 11:34 am
Forum: PowerShell GUIs
Topic: Style Windows.Forms.Button
Replies: 14
Views: 1627

Re: Style Windows.Forms.Button

I have never heard off WPFControl and what that is?
But what I can see, is that you are forced to find a way to connect Powershell whit XAML script language.
And then drop Powershell and do all button design in XAML if that is possible.
by hrlarsen
Tue Jul 31, 2018 9:54 am
Forum: PowerShell GUIs
Topic: Style Windows.Forms.Button
Replies: 14
Views: 1627

Re: Style Windows.Forms.Button

Thanks for the link I have found out a couble off things until now about button How to remove button border (around the button) How to Size border (around button) How to disable a button (after click) How to size and location button How to color Front and Back button How to remove Hyperlink color (a...
by hrlarsen
Tue Jul 31, 2018 5:03 am
Forum: PowerShell GUIs
Topic: Style Windows.Forms.Button
Replies: 14
Views: 1627

Style Windows.Forms.Button

How many ways can I Style a Button New-Object System.Windows.Forms.Button Some off the things I like to now code to is how to: -Shadow button -Border Size button -Border Radius -Border Color button -Border remove do not show on button -Border remove hyperlink blue color around button And text style ...
by hrlarsen
Sun Jul 29, 2018 12:01 pm
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2427

Re: GUI Forms MessageBox How to insert html

Just because I have had scripts in different ways that have been snapt by antivirus.
where it need to check it for 2-4 minuts before it will go on and run, and are cleared.

But I can see that I also have some trouble whit language i Forms.
That I need to google and find a way to solved, and set.
by hrlarsen
Sun Jul 29, 2018 4:20 am
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2427

Re: GUI Forms MessageBox How to insert html

Thanks alot

If you create/build exe file out off this.
How can I ensure, that it will not prompt as virus on other computers.
Is there things I need to do in the settings / or inside a script.
So I can be sure that another Windows pc will not give any problems?
by hrlarsen
Sat Jul 28, 2018 10:33 am
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2427

Re: GUI Forms MessageBox How to insert html

Thank you so much now, I can get the button in front now. ;)