/// <summary> /// Отобразить форму модально /// </summary> public static void ShowDialog(int kpNum, KPView.KPProperties kpProps, AppDirs appDirs) { if (kpProps == null) throw new ArgumentNullException("kpProps"); if (appDirs == null) throw new ArgumentNullException("appDirs"); FrmDevProps frmDevProps = new FrmDevProps(); frmDevProps.kpNum = kpNum; frmDevProps.kpProps = kpProps; frmDevProps.appDirs = appDirs; frmDevProps.ShowDialog(); }
/// <summary> /// Отобразить форму модально /// </summary> public static void ShowDialog(int kpNum, KPView.KPProperties kpProps, AppDirs appDirs) { if (kpProps == null) { throw new ArgumentNullException("kpProps"); } if (appDirs == null) { throw new ArgumentNullException("appDirs"); } FrmDevProps frmDevProps = new FrmDevProps(); frmDevProps.kpNum = kpNum; frmDevProps.kpProps = kpProps; frmDevProps.appDirs = appDirs; frmDevProps.ShowDialog(); }