Ejemplo n.º 1
0
        private void btnNewSparepart_Click(object sender, EventArgs e)
        {
            SparepartEditorForm editor = Bootstrapper.Resolve <SparepartEditorForm>();

            editor.ShowDialog(this);

            btnSearch.PerformClick();
        }
Ejemplo n.º 2
0
        private void cmsEditData_Click(object sender, EventArgs e)
        {
            if (_selectedSparepart != null)
            {
                SparepartEditorForm editor = Bootstrapper.Resolve <SparepartEditorForm>();
                editor.SelectedSparepart = _selectedSparepart;
                editor.ShowDialog(this);

                btnSearch.PerformClick();
            }
        }