Добавьте файлы проекта.
This commit is contained in:
parent
0396adddb6
commit
dcfd7c6e70
21 changed files with 1928 additions and 0 deletions
26
Program.cs
Normal file
26
Program.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using calculator.Controller;
|
||||
using calculator.Model;
|
||||
using calculator.Services;
|
||||
|
||||
namespace calculator
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
// see https://aka.ms/applicationconfiguration.
|
||||
var inputService = new InputService();
|
||||
var caculator = new Caculyator();
|
||||
ApplicationConfiguration.Initialize();
|
||||
var data = new CaculatorData();
|
||||
var view = new Form1();
|
||||
var controller = new CaculatorController(caculator, inputService, view, data);
|
||||
Application.Run(view);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue