Channel Avatar

Tactic Devs @[email protected]

6.4K subscribers - no pronouns :c

Hi, I'm Jamie and I love to explore and teach computer progr


Welcoem to posts!!

in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c

Tactic Devs
Posted 1 year ago

Implementing a Single Instance WPF AppΒ  use the Mutex Class

Single instance means only one instance is allowed to run

Mutex: Think of a mutex as a special token that only one program can hold at a time. It's like a permission slip that says, "I'm running!"


OnStartup Method: This is a special function that runs when the program starts up.

Creating the Mutex: We create a mutex with a specific name (MyAppName). If this name is already taken by another running instance of our program, we won't be able to create it.

Checking if the Mutex Was Created : We check if we successfully created the mutex (if createdNew is true). If it wasn’t created because another instance of the program already did, we shut down this new instance.

16 - 2

Tactic Devs
Posted 1 year ago

The Trim method of the string class enables the eliminate of any white-space characters at both the beginning and end of a string.

4 - 0

Tactic Devs
Posted 2 years ago

Hey Youtube fam! Follow me on Twiiter for more update and posts .See you there

πŸ‘‰πŸ‘‰πŸ”— twitter.com/TacticDevs

3 - 0

Tactic Devs
Posted 2 years ago

Which logo would best represent this channel

3 - 0

Tactic Devs
Posted 2 years ago

Thank you for the thousand subscribers, would like to thank each of you for being part of the journey.✌✌✌

5 - 0

Tactic Devs
Posted 2 years ago

What Are Delegates VideoπŸ‘ˆ
Delegate are a C# language
feature worth knowing

Video:
https://youtu.be/EYU0J1bZ9MY ✌

5 - 0