Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usings back to project templates #2628

Merged
merged 1 commit into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading