Пример #1
0
 private void btnBalance_Click(object sender, EventArgs e)
 {
     if (!FrmBalance.IsHandleCreated)
     {
         FrmBalance = new BalanceForm();
     }
     FrmBalance.Show(dockPanel, DockState.DockRight);
 }
Пример #2
0
        private void View_ShowBalances()
        {
            var form = new BalanceForm {
                MdiParent = View.MdiParentForm
            };

            var balancesPresenter = new BalancePresenter(form, new BalanceModel(_model.DomainModel));

            balancesPresenter.Run();
        }