How to get parent form in Master Detail Form
WAY 1
((frmYvvdaCustomerPriceList)SalWindow.FromHandle(this.i_hWndParent, typeof(frmYvvdaCustomerPriceList))).HeaderUpdateDynamicValues();
:i_hWndParent.dfnMessageId
WAY 2
SalBoolean bLoadConfirmRequired = frmYvvdaTransport.FromHandle(Ifs.Fnd.ApplicationForms.Int.GetParent(this.i_hWndParent)).cbLoadConfirmationRequired.Checked;
bLoadConfirmRequired = frmYvvdaTransport.FromHandle(frmYvvdaConsignment.FromHandle(Ifs.Fnd.ApplicationForms.Int.GetParent(this.i_hWndParent)).i_hWndParent).cbLoadConfirmationRequired.Checked;
Dynamic tabs. get parent from dynamic sibling
frmProjectBudgetInfoNew.FromHandle(this.ParentForm.ParentForm.ParentForm).dfnChangeObjectSequence.Text
Related Links:
Комментарии