欢迎来到天天文库
浏览记录
ID:15700193
大小:190.00 KB
页数:62页
时间:2018-08-04
《小软件源码分享 _计算机软件及应用_it计算机_专业资料》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、企业招标业务流程管理系统V1.0源代码/******************************************************//**采购清单管理类//******************************************************/usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Windows;usingSystem
2、.Windows.Controls;usingSystem.Windows.Data;usingSystem.Windows.Documents;usingSystem.Windows.Input;usingSystem.Windows.Media;usingSystem.Windows.Media.Imaging;usingSystem.Windows.Navigation;usingSystem.Windows.Shapes;usingSystem.IO;publicpartialclassS
3、hoppinglistmanagement {///Initializesanewinstanceoftheclass.///Theassociated.publicTableContextCommandBase(RadRichTextBoxeditor):base(editor){this.tableContextL
4、istener=newSelectionAndPositionContextListener(editor,this.UpdateCanExecute);}///Getsavalueindicatingwhethercommandmustbeenabledwhenthereisselectionintable.Defaultimplementationreturnsfalse.//////trueifthecommandmustbeenabled;othe
5、rwise,false.///protectedvirtualboolIsTableSelectionEnabledCommand{get{returnfalse;}}protectedoverrideboolCanExecuteOverride(objectparameter){returnthis.canExecute;}privatevoidUpdateCanExecute()-62-企业招标业务流程管理系统V1.0源代码{boolcanBeExecuted=t
6、his.CanExecuteOverride();if(this.canExecute!=canBeExecuted){this.canExecute=canBeExecuted;this.OnCanExecuteChanged();}}protectedvirtualboolCanExecuteOverride(){if(!this.IsTableSelectionEnabledCommand){returnthis.AssociatedRichTextBox.Document.CaretPos
7、ition.IsPositionInsideTable&&this.AssociatedRichTextBox.Document.Selection.IsEmpty;}else{returnthis.AssociatedRichTextBox.Document.CaretPosition.IsPositionInsideTable&&(this.AssociatedRichTextBox.Document.Selection.IsEmpty
8、
9、TableContextSelectionHelper
10、.SelectionContainsOnlyCells(this.AssociatedRichTextBox.Document.Selection));}}protectedvirtualTableCellGetCurrentCellStyle(){if(!this.AssociatedRichTextBox.Document.CaretPosition.IsPositionInsideTable){returnnewTableCell();}returnthis.Associat
此文档下载收益归作者所有