# Getting started in C# on macOS - 3

**URL:** <https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772>\
**Category:** C#\
**Tags:** csharp, tutorials\
**Created:** [27 September 2022 19:21 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772 "2022-09-27T19:21:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [27 September 2022 19:21 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772/1 "2022-09-27T19:21:54Z")

</div>

Adding a window subclass and opening a window at app startup  
[https://www.great-white-software.com/blog/2022/09/27/creating-our-window-in-c/](https://www.great-white-software.com/blog/2022/09/27/creating-our-window-in-c/)

---

<div class="post-metadata">

**Author:** ![JeanYves](https://ifnotnil.com/user_avatar/ifnotnil.com/jeanyves/32/4870_2.png) [@JeanYves](https://ifnotnil.com/u/JeanYves)\
**Post date:** [28 September 2022 06:16 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772/2 "2022-09-28T06:16:01Z")

</div>

thanks norman for this tutorial.  
but it seems to me already so much complicated to make a simple window …  
that’s it ? not even a simple IDE to create a window ?  
what will it be to fill windows with items ?  
all in a text file typing manually the coordinates of the items ?

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [28 September 2022 14:30 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772/3 "2022-09-28T14:30:29Z")

</div>

VS on Windows has a designer  
But this is using VS on macOS that is not nearly at the same level as VS on Windows

Yes we’ll be able to add controls  
Yes we’ll be able to add controls at runtime and move them and do just about anything you want

The Xojo IDE is really just generating the code we’re writing  
Might it be possible to integrate an extension to VS that does this as well ?  
No idea

I’m just learning all this stuff myself

EDIT : And as has been pointed out to me yes this IS probably “the hard way” to get to a project we can use - creating one we rip stuff out of then add to

It just seemed simpler than starting from nothing and adding in a pile of bits

20/20 hind sight

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [28 September 2022 22:13 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772/4 "2022-09-28T22:13:32Z")

</div>

Another way to get a project that you can work with is to start with a converted project

[https://bitbucket.org/einhugur/einhugur-project-generator/src/master/](https://bitbucket.org/einhugur/einhugur-project-generator/src/master/)

This project will take a Xojo XML project and port over as much of the UI (no code) as it can  
It sets up windows & controls as well as the VS solution so you can just open & go  
This can be a quick way to get started

---

<div class="post-metadata">

**Author:** ![einhugur](https://ifnotnil.com/user_avatar/ifnotnil.com/einhugur/32/5207_2.png) [@einhugur](https://ifnotnil.com/u/einhugur)\
**Post date:** [28 September 2022 22:22 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772/5 "2022-09-28T22:22:00Z")

</div>

I doupt they can open that link I think that project is not public. Just Norman and me 🙂

But they can get the built generator here:

[https://bitbucket.org/einhugur/einhugur-forms/src/master/](https://bitbucket.org/einhugur/einhugur-forms/src/master/)

---

<div class="post-metadata">

**Author:** ![DaveS](https://ifnotnil.com/user_avatar/ifnotnil.com/daves/32/79_2.png) [@DaveS](https://ifnotnil.com/u/DaveS)\
**Post date:** [28 September 2022 22:27 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772/6 "2022-09-28T22:27:38Z")

</div>

Did not know he had also written such a converter. I use my Xojo2Swift app to give me that baseline for new projects. It does “ok” on the code part… and really well on the GUI part

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [29 September 2022 03:11 UTC](https://ifnotnil.com/t/getting-started-in-c-on-macos-3/2772/7 "2022-09-29T03:11:03Z")

</div>

DOH my bad !
