Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a New Forms Application
  2. Add a PlanSwift to the References (Planswift_Tlb)
  3. Add a button to the form
  4. Copy code below to the onclick event of the button
  5. Compile and run


API

...

Calls

Delphi

Code Block
languagedelphi
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
var
    ps: IPlanswift;
begin                             
    ps := Planswift;
    ps.About;
end;

C#

Code Block
languagec#
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
public partial class MyForm : Form
{
    // PlanSwift Object
    private PlanSwift Planswift { get; }
    public MyForm()
    {
        InitializeComponent();
        // Instantiate new PlanSwift Object
        Planswift = new PlanSwift();
    }
     
    private void BtnShowAbout_Click(object sender, EventArgs e)
    {
        // Show About Page in PlanSwift
        Planswift.About();
    }
}

VB/VBA (OLE)

Code Block
languagevb
themeRDark
firstline1
titleUsing IItem Object Model
linenumberstrue
collapsetrue
Coming soon


Code Block
languagevb
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
Coming soon