private void LokEntityDatabaseFunction_EditItemClicked(object sender, MyCommonWPFControls.EditItemClickEventArg e) { var selectedItem = lokEntityDatabaseFunction.SelectedItem as DatabaseFunction_EntityDTO; var view = new frmDatabaseFunction_Entity((selectedItem == null ? 0 : selectedItem.ID), EntityID); view.DatabaseFunctionEntityUpdated += View_DatabaseFunctionEntityUpdated; MyProjectManager.GetMyProjectManager.ShowDialog(view, "تعریف ارتباط دیتابیس فانکشن و موجودیت", Enum_WindowSize.Big); }
private void LokDatabaseFunctionEntity_EditItemClicked(object sender, MyCommonWPFControls.EditItemClickEventArg e) { var selectedItem = lokDatabaseFunctionEntity.SelectedItem as DatabaseFunction_EntityDTO; frmDatabaseFunction_Entity view = new frmDatabaseFunction_Entity((selectedItem == null ? 0 : selectedItem.ID), (int)lokEntity.SelectedValue); view.DatabaseFunctionEntityUpdated += View_DatabaseFunctionEntityUpdated; MyProjectManager.GetMyProjectManager.ShowDialog(view, "تعریف کد", Enum_WindowSize.Big); }