not_daniel1
not_daniel1
CC#
Created by not_daniel1 on 1/12/2023 in #help
how to call a method that is in another file in c#?
Thank you very much, it worked
6 replies
CC#
Created by not_daniel1 on 1/12/2023 in #help
how to call a method that is in another file in c#?
In Program.cs file:
namespace Insim_Base
{
public class Program
{
public static Timer Luz1 = new Timer();
namespace Insim_Base
{
public class Program
{
public static Timer Luz1 = new Timer();
In Luz.cs file:
Luz1.Enabled = true;
Luz1.Enabled = true;
6 replies