public override bool Configure()
        {
            var d = new CustomAppConfigurationDialog();

            if (d.ShowDialog() == DialogResult.OK)
            {
                if (d.Info != null)
                {
                    _info = d.Info;
                    return(true);
                }
            }

            return(false);
        }
예제 #2
0
        public IAppInfoFactory Configure()
        {
            var dialog = new CustomAppConfigurationDialog(Info);

            return(dialog.ShowDialog() == DialogResult.OK ? new CustomAppFactory(dialog.Info) : null);
        }