//#endregion //#region public Methods... public override void Show() { // MyForm.pReflection = frm_Main.ntierproject.Metadata.PseudoReflectionable; if (frm_Main.ntierproject.Metadata.MetadataExtendedCollection[0].Tables.hasVirtualTable_withUndefinedKeys) { switch (System.Windows.Forms.MessageBox.Show( "View's PK must be defined, prior to Generate", "Warning", System.Windows.Forms.MessageBoxButtons.OKCancel, System.Windows.Forms.MessageBoxIcon.Warning )) { case System.Windows.Forms.DialogResult.OK: PO_Manage_Views_PK manage_views_pk = new PO_Manage_Views_PK(this.Base_ref); manage_views_pk.Undefined_orAll = true; this.Manage_Views_PK_s010 = new cManage_Views_PK_s010( this.Base_ref, this.LetMeKnowWhen_NoMoreUndefinedViews, manage_views_pk ); this.Manage_Views_PK_s010.Show(); break; case System.Windows.Forms.DialogResult.Cancel: this.NotifyBase(FlowformEvents.Closed, this); break; } } else { base.Show(); switch (this.Base_ref.ProjectSave(true, true, false)) { case System.Windows.Forms.DialogResult.OK: break; case System.Windows.Forms.DialogResult.Cancel: this.NotifyBase(FlowformEvents.Closed, this); break; } } }
public cManage_Views_PK_s010( frm_Main Base_ref_, OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase NotifyBase_, PO_Manage_Views_PK MyProcess_ ) : base ( NotifyBase_, 1 ) { this.Base_ref = Base_ref_; this.MyForm = new frmManage_Views_PK_s010( this.MyForm_notifiedMe, this.MyForm_notifiedMe_aboutNext ); this.MyForm.MdiParent = this.Base_ref; //this.MyForm.MaximizeBox = false; //this.MyForm_ref = MyForm; this.MyProcess = MyProcess_; }
public cManage_Views_PK_s020( frm_Main Base_ref_, OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase NotifyBase_, PO_Manage_Views_PK MyProcess_ ) : base( NotifyBase_, 1 ) { this.Base_ref = Base_ref_; this.MyForm = new frmManage_Views_PK_s020( this.MyForm_notifiedMe, this.MyForm_notifiedMe_aboutNext ); this.MyForm.MdiParent = this.Base_ref; //this.MyForm.MaximizeBox = false; //this.MyForm_ref = MyForm; this.MyProcess = MyProcess_; }