Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        AppSoftware     = GameObject.Find("Applications");
        HackingSoftware = GameObject.Find("Hacking");
        SysSoftware     = GameObject.Find("System");
        //Computer = GameObject.Find("Computer");

        //System
        clk    = SysSoftware.GetComponent <Clock>();
        defalt = SysSoftware.GetComponent <Defalt>();
        am     = SysSoftware.GetComponent <AppMenu>();
        cmd    = SysSoftware.GetComponent <CLI>();
        com    = SysSoftware.GetComponent <Computer>();
        sc     = SysSoftware.GetComponent <SoundControl>();
        appman = SysSoftware.GetComponent <AppMan>();
        boot   = SysSoftware.GetComponent <Boot>();
        post   = SysSoftware.GetComponent <POST>();
        os     = SysSoftware.GetComponent <OS>();
        mouse  = SysSoftware.GetComponent <Mouse>();
        desk   = SysSoftware.GetComponent <Desktop>();

        //Applications
        al = AppSoftware.GetComponent <AccLog>();
        sm = AppSoftware.GetComponent <SystemMap>();
        ib = AppSoftware.GetComponent <InternetBrowser>();

        //Hacking
        prog  = HackingSoftware.GetComponent <Progtive>();
        trace = HackingSoftware.GetComponent <Tracer>();
        cy    = HackingSoftware.GetComponent <Descy>();
        ds    = HackingSoftware.GetComponent <DirSearch>();

        mb    = GetComponent <MissionBrow>();
        cc    = GetComponent <CurContracts>();
        sl    = GetComponent <SiteList>();
        note  = GetComponent <Notepad>();
        fav   = GetComponent <Favs>();
        tv    = GetComponent <TreeView>();
        mPass = GetComponent <MonitorBypass>();
        wsv   = GetComponent <WebSecViewer>();
        sdp   = GetComponent <ShutdownProm>();
        Audio = GetComponent <AudioSource>();

        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        Audio.volume = Customize.cust.Volume;
        DesktopY     = -50;
        StartTime    = 0.030f;
        Snap         = false;

        if (Size == 0)
        {
            Size = 21;
        }
    }
 public void newGame()
 {
     inventory     = new List <Gem> ();
     essence       = 10;
     tempEssence   = 0;
     playerWeapon1 = new Weapon();
     playerWeapon2 = new Weapon();
     playerArmor   = new Armor();
     playerBoot    = new Boot();
 }
Beispiel #3
0
        static void Main(string[] args)
        {
            Boot.Init(new BootConfig()
            {
                WindowResizable = true,
                //WindowVsync = false,
            });

            Boot.Run(new TestBed());
        }
Beispiel #4
0
 static void Main(string[] args)
 {
     Boot.Init(new BootConfig()
     {
         WindowResizable = true,
         //WindowVsync = false,
     });
     //Log.Target = Log.TargetType.DiagnosticsDubug;
     Boot.Run(new TestBed());
 }
Beispiel #5
0
 public ActionResult Edit([Bind(Include = "Id,Price,Model,Brand,Size,Category")] Boot boot)
 {
     if (ModelState.IsValid)
     {
         unit.BootsRepo.Update(boot);
         unit.Commit();
         return(RedirectToAction("Index", "Boots", new { categ = boot.Category.ToString() }));
     }
     return(View(boot));
 }
 static void Main(string[] args)
 {
     Boot.Init(new BootConfig()
     {
         WindowWidth  = 1000,
         WindowHeight = 800,
     });
     Boot.Run(new Program());
     Boot.Run(new BtnSubAreaTest());
 }
        protected void Application_Start()
        {
            Boot.Initialize();

            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
Beispiel #8
0
        static void Main(string[] args)
        {
            var boot = new Boot(File.ReadAllLines("../input.txt"));

            //Part One
            Console.WriteLine($"{boot.ExecuteBoot()}");

            //Part One
            Console.WriteLine($"{boot.ExecuteBootWithCorrection()}");
        }
Beispiel #9
0
        public void Run()
        {
            //  > Get run command
            var cmd = Language.RunCommands.ContainsKey(RunKey) ? Language.RunCommands[RunKey] : null;

            if (cmd == null)
            {
                return;
            }

            //  > Check Interpreter Preference
            var extension = Path.GetExtension(FilePath).Replace(".", "");

            if (!Program.Preferences.Interpreters.ContainsKey(extension) || !Program.Preferences.Interpreters[extension].ContainsKey(RunKey))
            {
                Boot.Log(string.Format("ERROR: not configured for '.{0}' ({1})", extension, RunKey));
                return;
            }
            ;

            //  > Replace Variables
            var run_cmd = cmd.Replace("%FilePath%", FilePath)
                          .Replace("%FolderPath%", Path.GetFullPath("../", FilePath));

            //  > Get Interpreter
            var interpreter = Program.Preferences.Interpreters[extension][RunKey];

            //  > Start Process
            Boot.Log(string.Format("> '{0}' '{1}'", interpreter, run_cmd));
            var process = new Process()
            {
                StartInfo =
                {
                    FileName  = interpreter,
                    Arguments = run_cmd,
                    RedirectStandardOutput = true,
                    RedirectStandardError  = true,
                    CreateNoWindow         = true,
                    UseShellExecute        = false,
                }
            };

            process.OutputDataReceived += Boot.DevConsole.OutputHandler;
            process.ErrorDataReceived  += Boot.DevConsole.OutputHandler;
            try
            {
                process.Start();
                process.BeginOutputReadLine();
                process.BeginErrorReadLine();
            }
            catch (Exception e)
            {
                Boot.Log("ERROR: " + e.Message);
            }
        }
Beispiel #10
0
        // Configure is called after ConfigureServices is called.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            MSMvcContext.RegisterControllers(app);

            MSMvcContext.Register(new Registrar(),
                                  new MS.Infrastructure.Messaging.Registrar(),
                                  new MS.Infrastructure.Handling.Registrar(),
                                  new MS.Employees.Registrar(),
                                  new MS.Employees.Worker.Registrar() // TODO dont start this one with web app, but with command line instead
                                  );

            MSMvcContext.Verify();

            app.Use(async(context, next) =>
            {
                using (MSMvcContext.BeginExecutionContextScope())
                {
                    await next();
                }
            });

            loggerFactory.MinimumLevel = LogLevel.Information;
            loggerFactory.AddConsole();

            // Configure the HTTP request pipeline.

            // Add the following to the request pipeline only in development environment.
            if (env.IsDevelopment())
            {
                app.UseBrowserLink();
                app.UseErrorPage(ErrorPageOptions.ShowAll);
            }
            else
            {
                // Add Error handling middleware which catches all application specific errors and
                // send the request to the following path or controller action.
                app.UseErrorHandler("/Home/Error");
            }

            // Add static files to the request pipeline.
            app.UseStaticFiles();

            // Add MVC to the request pipeline.
            app.UseMvc(routes =>
            {
                routes.MapRoute(
                    name: "default",
                    template: "{controller=Home}/{action=Index}/{id?}");

                // Uncomment the following line to add a route for porting Web API 2 controllers.
                // routes.MapWebApiRoute("DefaultApi", "api/{controller}/{id?}");
            });

            Boot.AppStart();
        }
Beispiel #11
0
        public async Task <IActionResult> Create([Bind("ID,Description,Colour,Size,Quantity")] Boot boot)
        {
            if (ModelState.IsValid)
            {
                _context.Add(boot);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(boot));
        }
Beispiel #12
0
 static void Main(string[] args)
 {
     Boot.Init(new BootConfig
     {
         WindowWidth     = 1280,
         WindowHeight    = 720,
         WindowTitle     = "Reversi",
         WindowResizable = false
     });
     Boot.Run(new Program());
 }
 static void Main(string[] args)
 {
     Love.Imgui.EngineConfigure.Init();
     Boot.Init(new BootConfig()
     {
         WindowWidth     = 1700,
         WindowHeight    = 800,
         WindowResizable = true,
     });
     Boot.Run(new Program());
 }
Beispiel #14
0
 public void UT_Boot_Init()
 {
     Boot boot = new Boot();
     Assert.IsTrue(boot.VERSION.Contains("Price"));
     Assert.IsTrue(boot.fo.IsDirExist(boot.TOCdir));
     Assert.IsTrue(boot.fo.IsDirExist(boot.DebugDir));
     Assert.IsTrue(boot.fo.IsDirExist(boot.ExcelDir));
     Assert.IsTrue(boot.Suppliers.AllSuppliers.Count > 0);
     Assert.IsTrue(boot.ssInit.Count > 0);
     Assert.AreEqual(boot.Suppliers.AllSuppliers.Count, boot.ssInit.Count,
         "Не все Поставщики отображаются в SupplierInit.xml");
 }
Beispiel #15
0
        public Base()
        {
            InitializeComponent();

            // Inicializace jednotlivých komponent
            _boot = new Boot();           // FBS - First Boot Sequence
            _boot.DetectLibs();           // Detekce knihoven

            _search    = new Search();    // Vyhledávač slov
            _registry  = new Registry();  // Práce s registrama
            _automatic = new Automatic(); // Automatické práce
        }
Beispiel #16
0
    void Start()
    {
#if !UNITY_EDITO
        Boot.makeBaseObjects();
#endif
        nextStep      = null;
        currentStep   = null;
        nextSceneName = null;
        isEnd         = false;

        initFlow();
    }
Beispiel #17
0
        static void Main(string[] args)
        {
            Boot.Init(new BootConfig()
            {
                WindowWidth  = 1280,
                WindowHeight = 720,
                WindowTitle  = "Suijin Cave",
                WindowVsync  = true
            });

            Boot.Run(new Game());
        }
        public override void Run()
        {
            // Login
            VapiAuthHelper           = new VapiAuthenticationHelper();
            SessionStubConfiguration =
                VapiAuthHelper.LoginByUsernameAndPassword(
                    Server, UserName, Password);

            this.bootService = VapiAuthHelper.StubFactory.CreateStub <Boot>(
                SessionStubConfiguration);

            Console.WriteLine("\n\n#### Setup: Get the virtual machine id");
            this.vmId = VmHelper.GetVm(VapiAuthHelper.StubFactory,
                                       SessionStubConfiguration, VmName);
            Console.WriteLine("Using VM: " + VmName + " (vmId=" + this.vmId +
                              ") for boot configuration sample");

            // Print the current boot configuration
            Console.WriteLine("\n\n#### Print the original Boot Info");
            BootTypes.Info bootInfo = this.bootService.Get(this.vmId);
            Console.WriteLine(bootInfo);

            // Save the current boot info to revert settings after cleanup
            this.originalBootInfo = bootInfo;

            Console.WriteLine("\n\n#### Example: Update firmware to EFI for " +
                              "boot configuration");
            BootTypes.UpdateSpec bootUpdateSpec = new BootTypes.UpdateSpec();
            bootUpdateSpec.SetType(BootTypes.Type.EFI);
            this.bootService.Update(this.vmId, bootUpdateSpec);
            bootInfo = this.bootService.Get(this.vmId);

            Console.WriteLine("\n\n#### Example: Update boot firmware to tell "
                              + "it to enter setup mode on next boot.");
            bootUpdateSpec = new BootTypes.UpdateSpec();
            bootUpdateSpec.SetEnterSetupMode(true);
            this.bootService.Update(this.vmId, bootUpdateSpec);
            Console.WriteLine(bootUpdateSpec);
            bootInfo = this.bootService.Get(this.vmId);
            Console.WriteLine(bootInfo);

            Console.WriteLine("\n\n#### Example: Update firmware to introduce "
                              + "a delay in boot process and automatically reboot after a "
                              + "failure to boot, retry delay = 30000 ms");
            bootUpdateSpec = new BootTypes.UpdateSpec();
            bootUpdateSpec.SetDelay(10000L);
            bootUpdateSpec.SetRetry(true);
            bootUpdateSpec.SetRetryDelay(30000L);
            this.bootService.Update(this.vmId, bootUpdateSpec);
            bootInfo = this.bootService.Get(this.vmId);
            Console.WriteLine(bootInfo);
        }
Beispiel #19
0
        public async Task MainAsync(string[] args)
        {
            if (args.Length == 0)
            {
                botType = BotType.Experimental;
            }
            else
            {
                botType = (BotType)int.Parse(args[0]);
            }
            await Library.LoadKeys();

            BotHandler = new BotHandler();
            random     = new Random();
            await Boot.Load(BotHandler);

            handler = new Handler();

            Library.rOpts.RetryMode = RetryMode.RetryRatelimit;
            Library.rOpts.Timeout   = null;

            IMessages = new List <InteractMessage>();

            client                  = new DiscordSocketClient();
            client.Log             += Log;
            client.MessageReceived += MessageReceived;

            client.ReactionAdded   += Client_ReactionAdded;
            client.ReactionRemoved += Client_ReactionRemoved;
            client.Ready           += Client_Ready;

            commands = new CommandService();
            services = new ServiceCollection().BuildServiceProvider();

            await InstallCommands();

            string token = "";

            switch (botType)
            {
            case BotType.Live: token = Library.API_KEYS["MrDestructoid"]; break;

            case BotType.Experimental: token = Library.API_KEYS["MrRestructoid"]; break;
            }

            await client.LoginAsync(TokenType.Bot, token);

            await client.StartAsync();

            timer1s = new Timer(async(object o) => await Events.OnTimerDown(o), null, 0, 1000);
            await Task.Delay(-1);
        }
Beispiel #20
0
        protected void Application_Start()
        {
            GlobalConfiguration.Configure(x =>
            {
                WebApiConfig.Register(x);
                x.Filters.Add(new ExceptionFilter());
                x.Filters.Add(new StoreAuthorizeFilter());
            });
            AutofacBoot.Init();
            AutoMapperBootStrapper.ConfigureAutoMapper();

            Boot.Init();
        }
Beispiel #21
0
        private void btnVoegBootToe_Click(object sender, EventArgs e)
        {
            // items toe voegen aan contractregel lijst
            Boot boot = lbBoten.SelectedItem as Boot;

            if (lbBoten.SelectedItem != null)
            {
                sloepke.VoegBotenToeAanHuidigeArtiekelen(boot);
                // items laten zien in de listbox
                lbHuurcontract.Items.Add(boot);
                btnVoegBootToe.Enabled = false;
            }
        }
    /// <summary>
    /// 入口
    /// </summary>
    protected void Start()
    {
        //不销毁
        ExtObject.ExtDontDestroyOnLoad(gameObject);
        JW.Common.Log.LogD("--<color=yellow>Unity Start</color> --");
        //目标帧率
        Application.targetFrameRate = 60;
        //禁止多点触摸
        Input.multiTouchEnabled = false;
        //常亮
        Screen.sleepTimeout = SleepTimeout.NeverSleep;
        //Log.LogD("Screen Width:" + Screen.width.ToString());
        //Log.LogD("Screen Height:" + Screen.height.ToString());
        //Log.LogD("Screen currentResolution.width:" + Screen.currentResolution.width.ToString());
        //Log.LogD("Screen currentResolution.height:" + Screen.currentResolution.height.ToString());
        //Resolution[] resolutions = Screen.resolutions;
        //Log.LogD("--------------");
        //foreach (Resolution re in resolutions)
        //{
        //    Log.LogD(re.ToString());
        //}
        //Log.LogD("--------------");
        //if (resolutions.Length > 1)
        //{
        //    Screen.SetResolution(resolutions[resolutions.Length - 1].width, resolutions[resolutions.Length - 1].height, true);
        //}
        //else
        //{
        //    Screen.SetResolution(1080, 1920, true);
        //}

        //必须全屏
        int xscreen = (int)GetSystemMetrics(SM_CXSCREEN);
        int yscreen = (int)GetSystemMetrics(SM_CYSCREEN);

        Log.LogD("Win32 GetSystemMetrics:{0:D}:{1:D}", xscreen, yscreen);
        Screen.SetResolution(xscreen, yscreen, true);
        Screen.fullScreen = true;
        //鼠标
#if !UNITY_EDITOR && JW_RELEASE
        Cursor.visible = false;
#endif
        JW.Common.Log.LogD("-- Init Common --");
        Boot.InitCommon(true);
        JW.Common.Log.LogD("-- Init Framwwork --");
        Boot.InitFramework(true);
        JW.Common.Log.LogD("-- Init Logic --");
        Boot.InitLogic(true);
        JW.Common.Log.LogD("---<color=yellow>Run Run Run</color> ---");
        Boot.Run();
    }
Beispiel #23
0
    void AfterStart()
    {
        def    = system.GetComponent <Defalt>();
        com    = system.GetComponent <Computer>();
        sc     = system.GetComponent <SoundControl>();
        cli    = GetComponent <CLICommandsV2>();
        appman = GetComponent <AppMan>();
        boot   = GetComponent <Boot>();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        PosCheck();
    }
Beispiel #24
0
    // Start is called before the first frame update
    void Start()
    {
        myGameObject = gameObject;
        myRigidbody  = myGameObject.GetComponent <Rigidbody2D>();

        bootController = myGameObject.GetComponentInChildren <Boot>();

        PTZ = myGameObject.GetComponentInChildren <PerfectTouch>();

        gravityScale = myRigidbody.gravityScale;

        headForce = 5f;
        kickForce = 10f;
    }
Beispiel #25
0
		//-----------------------------------
		// Method (public)
		//-----------------------------------
		public void Initialize(Boot boot)
		{
			m_Sheet = boot.sheet;
			GameEventManager.instance.Add(gameObject);
			Metronome.instance.Initialize();
			// TODO:トラックデータにBPMも含まれると思うけどどう反映させるか…(調整とか面倒になる的な意味で)
			//Metronome.instance.SetBPM(m_TrackSheet.Bpm);

			InitializeEvents();
			InitializeTempoLine();
			InitializeNote();
			InitializeTimingLine();
			InitializeScore();
		}
Beispiel #26
0
        // GET: Boots/Edit/5
        public ActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Boot boot = unit.BootsRepo.GetElement(x => x.Id == id);

            if (boot == null)
            {
                return(HttpNotFound());
            }
            return(View(boot));
        }
Beispiel #27
0
        static void Main(string[] args)
        {
            var asy = System.Reflection.Assembly.GetAssembly(typeof(Boot));

            Console.WriteLine(asy);

            Boot.Init(new BootConfig()
            {
                WindowWidth     = 1700,
                WindowHeight    = 800,
                WindowResizable = true,
            });
            Boot.Run(new Program());
        }
        public override bool OnContextItemSelected(IMenuItem item)
        {
            var info      = (AdapterView.AdapterContextMenuInfo)item.MenuInfo;
            var menuIndex = item.ItemId;
            var db        = new SQLiteConnection(dbPathDef);
            var dbDa      = new SQLiteConnection(dbPathEnde);

            if (menuIndex == 0)
            {
                Boot bootDa    = booteUsedClass[info.Position];
                int  index     = helperList.FindIndex(x => x == bootDa);
                var  bootSkrrt = db.Table <Boot>().ElementAt(index);
                Toast.MakeText(Context, bootSkrrt.Nummer + " gelöscht!", ToastLength.Short).Show();
                bootSkrrt.Available = true;
                db.InsertOrReplace(bootSkrrt, typeof(Boot));
                db.Commit();
                db.Close();
                dbDa.Close();
                booteUsed.RemoveAt(info.Position);
                booteUsedClass.RemoveAt(info.Position);
                lstVwBooteAktuell.DeferNotifyDataSetChanged();
                var frag = new bootRausFrag();
                FragmentManager.BeginTransaction().Replace(Resource.Id.content_frame, frag).CommitNow();
            }
            else if (menuIndex == 1)
            {
                Boot bootDa = booteUsedClass[info.Position];
                //Toast.MakeText(Context, bootDa.FullInfo(), ToastLength.Short).Show();
                int index = helperList.FindIndex(x => x.ID == bootDa.ID);
                //Toast.MakeText(Context, index.ToString(), ToastLength.Short).Show();
                var bootSkkrt = db.Table <Boot>().ElementAt(index);
                Toast.MakeText(Context, bootSkkrt.Nummer + " ist wieder da!", ToastLength.Short).Show();
                bootSkkrt.Available = true;
                bootSkkrt.endZeit   = DateTime.Now;
                dbDa.Insert(bootSkkrt);
                db.Table <Boot>().Delete(x => x.Nummer == bootSkkrt.Nummer);
                db.Insert(bootSkkrt);
                dbDa.Commit();
                db.Commit();
                dbDa.Close();
                db.Close();
                booteUsed.RemoveAt(info.Position);
                booteUsedClass.RemoveAt(info.Position);
                lstVwBooteAktuell.DeferNotifyDataSetChanged();
                var frag = new bootRausFrag();
                FragmentManager.BeginTransaction().Replace(Resource.Id.content_frame, frag).CommitNow();
            }
            return(true);
        }
Beispiel #29
0
        public void SetUp()
        {
            var inputArray = new[]
            {
                "nop +0",
                "acc +1",
                "jmp +4",
                "acc +3",
                "jmp -3",
                "acc -99",
                "acc +1",
                "nop -4",
                "acc +6"
            };

            _output = Boot.TryExecute(inputArray, out _accumulatorValue);
        }
Beispiel #30
0
    // Use this for initialization
    void Start()
    {
        boot = GetComponent <Boot>();

        windowRect = new Rect(0, 0, Customize.cust.RezX, Customize.cust.RezY);

        if (Application.isEditor == true)
        {
            windowRect.width  = Screen.width;
            windowRect.height = Screen.height;
        }
        else
        {
            windowRect.width  = Customize.cust.RezX;
            windowRect.height = Customize.cust.RezY;
        }
    }
 public bool DeleteBoot(Boot boot)
 {
     try
     {
         Con.Open();
         Cmd.CommandText = "DELETE FROM BOOT WHERE naam = :nm";
         Cmd.Parameters.Add("nm", boot.Naam);
         Cmd.ExecuteNonQuery();
         Con.Close();
         return true;
     }
     catch (OracleException e)
     {
         Console.WriteLine("Oh noes OracleException: " + e.Message);
         Con.Close();
         return false;
     }
 }
 public bool EditBoot(Boot boot)
 {
     try
     {
         Con.Open();
         Cmd.CommandText = "UPDATE BOOT SET "; // FINISH SQL STATEMENT
         //cmd.Parameters.Add() ADD SOME PARAMETERS
         Cmd.ExecuteNonQuery();
         Con.Close();
         return true;
     }
     catch (OracleException e)
     {
         Console.WriteLine("Oh noes OracleException: " + e.Message);
         Con.Close();
         return false;
     }
 }
Beispiel #33
0
 protected IBoot Add()
 {
     var vBoot = new Boot();
     mBoots.Add(vBoot);
     return vBoot;
 }
		/// <summary>
		/// Initializes a new instance of the <see cref="ApplicationShutdownCanceled"/> class.
		/// </summary>
		/// <param name="reason">The reason.</param>
		public ApplicationShutdownCanceled( Boot.ApplicationShutdownReason reason )
		{
			this.Reason = reason;
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="ApplicationShutdownRequested"/> class.
		/// </summary>
		/// <param name="reason">The reason.</param>
		public ApplicationShutdownRequested( Boot.ApplicationShutdownReason reason )
		{
			this.Reason = reason;
		}
		public ApplicationShutdownRequested( Object sender, Boot.ApplicationShutdownReason reason )
			: base( sender )
		{
            this.Reason = reason;
		}
		public SubscribeToMessageModule( Boot.BootstrapConventions conventions )
		{
			// TODO: Complete member initialization
			this.conventions = conventions;
		}
Beispiel #38
0
 public bool AddHuur(string email, string huurder, string verhuurder, Boot boot, ListBox.SelectedObjectCollection materiaal, ListBox.SelectedObjectCollection vaarwater, DateTime begin, DateTime eind, decimal budget)
 {
     UpdateHuurCompletely(email, huurder, verhuurder, boot, materiaal, vaarwater, begin, eind, budget);
     return _db.AddHuur(this);
 }
Beispiel #39
0
 public void UpdateHuurCompletely(string email, string huurder, string verhuurder, Boot boot,
     ListBox.SelectedObjectCollection materiaal, ListBox.SelectedObjectCollection vaarwater, DateTime begin,
     DateTime eind, decimal budget)
 {
     Huurderemail = email;
     Huurdernaam = huurder;
     Naam = verhuurder;
     Boot = boot;
     Budget = budget;
     UpdateData(begin, eind);
     UpdateMateriaal(materiaal);
     UpdateVaarwater(vaarwater);
     CalculateVaarplaatsen(Budget);
 }
Beispiel #40
0
 public void UpdateBoot(Boot listBoot)
 {
     Boot = listBoot;
 }