Example #1
0
        protected void OnBtnAddClicked(object sender, EventArgs e)
        {
            dlgAdd dlgAdd = new dlgAdd();

            dlgAdd.OnAddedOS += os => { lstOSes.Add(new DBEntryForEto(os)); };
            dlgAdd.ShowModal(this);
        }
Example #2
0
        protected void OnBtnAddClicked(object sender, EventArgs e)
        {
            var dlgAdd = new dlgAdd();

            dlgAdd.OnAddedApp += app =>
            {
                lstApps.Add(new DBEntryForEto(app));
            };

            dlgAdd.ShowModal(this);
        }
Example #3
0
        protected void OnBtnAddClicked(object sender, EventArgs e)
        {
            dlgAdd _dlgAdd = new dlgAdd();

            _dlgAdd.OnAddedOS += os =>
            {
                osView.AppendValues(os.Developer, os.Product, os.Version, os.Languages, os.Architecture, os.Machine,
                                    os.Format, os.Description, os.Oem, os.Upgrade, os.Update, os.Source, os.Files,
                                    os.Netinstall, os.Id, os.Mdid);
            };
            _dlgAdd.Run();
            _dlgAdd.Destroy();
        }