Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            _listBoxs       = new List <ListBox>(GetControl <ListBox>(this));
            _childForm      = null;
            _childFormModal = null;
        }
Ejemplo n.º 2
0
        private void buttonShowModal_Click(object sender, EventArgs e)
        {
            if (_childFormModal == null)
            {
                _childFormModal = new ChildFormModal(this);
            }

            var result = _childFormModal.ShowDialog(this);

            AddToListBoxCallback(new AddToListBoxParam(listBox11, $"result = {result}"));
        }