Beispiel #1
0
        private void buttonEditar_Click(object sender, EventArgs e)
        {
            Equipo equipo = (Equipo)dataGrid.CurrentRow.DataBoundItem;
            Form   form   = new ItemEditForm <Equipo>(ref equipo);

            form.Show();
        }
Beispiel #2
0
        public MainForm()
        {
            InitializeComponent();
            InitializeSettings();
            InitializeTooltips();

            _randomizer = new Randomizer(_settings);

            ItemEditor              = new ItemEditForm(_settings);
            ItemEditor.FormClosing += ItemEditor_FormClosing;
            UpdateCustomItemAmountLabel();

            StartingItemEditor              = new StartingItemEditForm(_settings);
            StartingItemEditor.FormClosing += StartingItemEditor_FormClosing;
            UpdateCustomStartingItemAmountLabel();

            JunkLocationEditor              = new JunkLocationEditForm(_settings);
            JunkLocationEditor.FormClosing += JunkLocationEditor_FormClosing;
            UpdateJunkLocationAmountLabel();

            LogicEditor = new LogicEditorForm();
            Manual      = new ManualForm();
            About       = new AboutForm();


            Text = AssemblyVersion;
        }
Beispiel #3
0
        public MainForm()
        {
            InitializeComponent();
            InitializeSettings();
            InitializeTooltips();

            _randomizer = new Randomizer(_settings);

            ItemEditor  = new ItemEditForm(_settings);
            LogicEditor = new LogicEditorForm();
            Manual      = new ManualForm();
            About       = new AboutForm();


            Text = AssemblyVersion;
        }
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            Form form = new ItemEditForm <Customer>(ref customer);

            form.Show();
        }