public void Execute(string filename) { using (FrmMainUI frmMainUI = new FrmMainUI(filename)) { frmMainUI.ShowDialog(); } }
public void Execute(params object[] args) { var frmMainUi = new FrmMainUI(); frmMainUi.Show(); }