Author Topic: How to add a Form and a button  (Read 3689 times)

Mvlawn

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
How to add a Form and a button
« on: February 22, 2016, 09:49:32 AM »
I have figured out how to add new tabs with the TabControl but I would like a cleaner look. I have read where I can add a FormChangeButton on the Main Form, how do I add a Form/New Window and address the FormChangeButton?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5270
    • View Profile
    • AdvancedHMI
Re: How to add a Form and a button
« Reply #1 on: February 22, 2016, 10:44:45 AM »
Right click the AdvancedHMI project in Solution Explorer and select Add Form

After adding a new form, you will have to build the project before it will show up as an option in the FormChangeButton

Mvlawn

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: How to add a Form and a button
« Reply #2 on: February 22, 2016, 02:26:07 PM »
Thanks Archie!!!

tamnguyen408

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: How to add a Form and a button
« Reply #3 on: July 24, 2016, 03:16:05 PM »
I can't find this option in C#. VB.NET shows up
please! help
Thanks...

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5270
    • View Profile
    • AdvancedHMI
Re: How to add a Form and a button
« Reply #4 on: July 24, 2016, 03:19:35 PM »
I can't find this option in C#. VB.NET shows up
please! help
Thanks...
If you add a reference to the AdvancedHMI project, you may then get the FormChangeButton

tamnguyen408

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: How to add a Form and a button
« Reply #5 on: July 25, 2016, 02:47:07 PM »
Hi Archie,
I can't find .dll files.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5270
    • View Profile
    • AdvancedHMI
Re: How to add a Form and a button
« Reply #6 on: July 25, 2016, 02:53:05 PM »
The AdvancedHMI project does not have any DLLs. You have to add it as a project reference.