public Warning(AutoMachine MainForm) { InitializeComponent(); this.MainForm = MainForm; button_cancel.Text = MainForm.WRN_ActionCancel; TextSet(); }
static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (args.Length != 0) { if (args[0] == "/autorun") { AutoMachine mainform = new AutoMachine(); Application.Run(); } else { Application.Run(new AutoMachine()); } } else { Application.Run(new AutoMachine()); } }
public About(AutoMachine MainForm) { InitializeComponent(); this.MainForm = MainForm; SetLanguage(MainForm.language); }