Skip to content

Commit eec8a8b

Browse files
committed
Add usings back to project templates
Fixes picoe#2619
1 parent e529eb9 commit eec8a8b

File tree

18 files changed

+69
-8
lines changed

18 files changed

+69
-8
lines changed

src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/MainForm.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#if (UseCode || UseCodePreview)
2+
using System;
3+
using Eto.Forms;
4+
using Eto.Drawing;
5+
26
namespace EtoApp._1
37
{
48
public partial class MainForm : Form

src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/MainForm.eto.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#if (UseCodePreview)
2+
using System;
3+
using Eto.Forms;
4+
using Eto.Drawing;
5+
26
namespace EtoApp._1
37
{
48
partial class MainForm : Form

src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/MainForm.jeto.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#if (UseJeto)
2+
using System;
3+
using System.Collections.Generic;
4+
using Eto.Forms;
5+
using Eto.Drawing;
26
using Eto.Serialization.Json;
37

48
namespace EtoApp._1

src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/MainForm.xeto.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#if (UseXeto)
2+
using System;
3+
using System.Collections.Generic;
4+
using Eto.Forms;
5+
using Eto.Drawing;
26
using Eto.Serialization.Xaml;
37

48
namespace EtoApp._1

src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
namespace EtoApp._1
1+
using System;
2+
using Eto.Forms;
3+
using Eto.Drawing;
4+
5+
namespace EtoApp._1
26
{
37
class Program
48
{

src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Gtk/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace EtoApp._1.Gtk
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace EtoApp._1.Gtk
25
{
36
class Program
47
{

src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Mac/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace EtoApp._1.Mac
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace EtoApp._1.Mac
25
{
36
class Program
47
{

src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.MacOS/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace EtoApp._1.Mac
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace EtoApp._1.Mac
25
{
36
class Program
47
{

src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.WinForms/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace EtoApp._1.WinForms
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace EtoApp._1.WinForms
25
{
36
class Program
47
{

src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Wpf/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace EtoApp._1.Wpf
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace EtoApp._1.Wpf
25
{
36
class Program
47
{

0 commit comments

Comments
 (0)