Skip to content

Commit

Permalink
Add usings back to project templates
Browse files Browse the repository at this point in the history
Fixes #2619
  • Loading branch information
cwensley committed Mar 2, 2024
1 parent e529eb9 commit eec8a8b
Show file tree
Hide file tree
Showing 18 changed files with 69 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseCode || UseCodePreview)
using System;
using Eto.Forms;
using Eto.Drawing;

namespace EtoApp._1
{
public partial class MainForm : Form
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseCodePreview)
using System;
using Eto.Forms;
using Eto.Drawing;

namespace EtoApp._1
{
partial class MainForm : Form
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseJeto)
using System;
using System.Collections.Generic;
using Eto.Forms;
using Eto.Drawing;
using Eto.Serialization.Json;

namespace EtoApp._1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseXeto)
using System;
using System.Collections.Generic;
using Eto.Forms;
using Eto.Drawing;
using Eto.Serialization.Xaml;

namespace EtoApp._1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
namespace EtoApp._1
using System;
using Eto.Forms;
using Eto.Drawing;

namespace EtoApp._1
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace EtoApp._1.Gtk
using System;
using Eto.Forms;

namespace EtoApp._1.Gtk
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace EtoApp._1.Mac
using System;
using Eto.Forms;

namespace EtoApp._1.Mac
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace EtoApp._1.Mac
using System;
using Eto.Forms;

namespace EtoApp._1.Mac
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace EtoApp._1.WinForms
using System;
using Eto.Forms;

namespace EtoApp._1.WinForms
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace EtoApp._1.Wpf
using System;
using Eto.Forms;

namespace EtoApp._1.Wpf
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using AppKit;
using Eto.Forms;

namespace EtoApp._1.XamMac
{
class Program
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace EtoApp._1.Wpf
using System;
using Eto.Forms;

namespace EtoApp._1.Wpf
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace EtoApp._1.Mac
using System;
using Eto.Forms;

namespace EtoApp._1.Mac
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using AppKit;
using Eto.Forms;

namespace EtoApp._1.XamMac
{
class Program
Expand Down
4 changes: 4 additions & 0 deletions src/Eto.Forms.Templates/content/File-CSharp/MainForm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseCode || UseCodePreview)
using System;
using Eto.Forms;
using Eto.Drawing;

namespace EtoApp._1
{
public partial class MainForm : Form
Expand Down
4 changes: 4 additions & 0 deletions src/Eto.Forms.Templates/content/File-CSharp/MainForm.eto.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseCodePreview)
using System;
using Eto.Forms;
using Eto.Drawing;

namespace EtoApp._1
{
partial class MainForm : Form
Expand Down
4 changes: 4 additions & 0 deletions src/Eto.Forms.Templates/content/File-CSharp/MainForm.jeto.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseJeto)
using System;
using System.Collections.Generic;
using Eto.Forms;
using Eto.Drawing;
using Eto.Serialization.Json;

namespace EtoApp._1
Expand Down
4 changes: 4 additions & 0 deletions src/Eto.Forms.Templates/content/File-CSharp/MainForm.xeto.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if (UseXeto)
using System;
using System.Collections.Generic;
using Eto.Forms;
using Eto.Drawing;
using Eto.Serialization.Xaml;

namespace EtoApp._1
Expand Down

0 comments on commit eec8a8b

Please sign in to comment.