private void btnCodeList_Click(object sender, RoutedEventArgs e) { frmCodeFunctionSelect view = new frmCodeFunctionSelect(new List <Enum_CodeFunctionParamType>() { CodeFunctionParamType }); view.CodeFunctionSelected += View_CodeFunctionSelected; MyProjectManager.GetMyProjectManager.ShowDialog(view, "انتخاب تابع"); }
private void item_ClickCodeFunctionSelect(object sender, RadRoutedEventArgs e, int entityID, RadTreeViewItem codeFunctionsNode) { frmCodeFunctionSelect view = new frmCodeFunctionSelect(new List <Enum_CodeFunctionParamType>() { Enum_CodeFunctionParamType.OneDataItem }); view.CodeFunctionSelected += (sender1, e1) => view_CodeFunctionSelected1(sender1, e1, codeFunctionsNode.Items); MyProjectManager.GetMyProjectManager.ShowDialog(view, "ارتباط تابع و موجودیت"); }