欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    企业一体化管理软件系统-源代码.docx

    • 资源ID:33412055       资源大小:990.61KB        全文页数:528页
    • 资源格式: DOCX        下载积分:15金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要15金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    企业一体化管理软件系统-源代码.docx

    Four short words sum up what has lifted most successful individuals above the crowd: a little bit more.-author-date企业一体化管理软件系统-源代码企业一体化管理软件系统-源代码using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Qr code set / <exclude/>class ColorBox: Label private bool mouseEnter;public ColorBox()this.BackColor = Color.White;this.AutoSize = false;this.Size = new Size(41, 23);this.BorderStyle = BorderStyle.Fixed3D; this.MouseEnter += new EventHandler(ColorBox_MouseEnter); this.MouseLeave += new EventHandler(ColorBox_MouseLeave); this.Click += new EventHandler(ColorBox_Click); this.MouseMove += new MouseEventHandler(ColorBox_MouseMove); void ColorBox_MouseMove(object sender, MouseEventArgs e) if (Cursor.Current != Cursors.Hand) Cursor.Current = Cursors.Hand; void ColorBox_MouseLeave(object sender, EventArgs e) mouseEnter = false; Cursor.Current = Cursors.Default; this.Invalidate(); void ColorBox_MouseEnter(object sender, EventArgs e) mouseEnter = true; Cursor.Current = Cursors.Hand; this.Invalidate(企业管理); / Fires when the selected color changespublic event ColorChangedEventHandler ColorChanged; public event ColorDialogCreatedEventHandler ColorDialogCreated;void ColorBox_Click(object sender, EventArgs e) Cursor.Current = Cursors.Hand; IRadColorDialog dialogForm = RadColorEditor.CreateColorDialogInstance(); if (this.ColorDialogCreated != null) ColorDialogEventArgs args = new ColorDialogEventArgs(dialogForm); this.ColorDialogCreated(this, args); UserControl colorSelector = RadColorEditor.CreateColorSelectorInstance() as UserControl;(IColorSelector)dialogForm.RadColorSelector).SelectedColor = this.BackColor;(IColorSelector)dialogForm.RadColorSelector).OldColor = this.BackColor;(IColorSelector)colorSelector).OkButtonClicked += delegate(object sender1, ColorChangedEventArgs args) (Form)dialogForm).DialogResult = DialogResult.OK; (Form)dialogForm).Close(); ;(IColorSelector)colorSelector).CancelButtonClicked += delegate(object sender1, ColorChangedEventArgs args) (Form)dialogForm).DialogResult = DialogResult.Cancel; (Form)dialogForm).Close(); ;colorSelector.Dock = DockStyle.Fill;(Form)dialogForm).Controls.Add(colorSelector);if (Form)dialogForm).ShowDialog() = DialogResult.OK)this.BackColor = (IColorSelector)dialogForm.RadColorSelector).SelectedColor;if (ColorChanged != null)ColorChanged(this, new ColorChangedEventArgs(this.BackColor); this.Invalidate(); protected override void OnPaint(PaintEventArgs e) Cursor.Current = Cursors.Hand; if( mouseEnter ) using (Pen pen = new Pen(this.ForeColor) e.Graphics.DrawRectangle(pen, new Rectangle(ClientRectangle.X, ClientRectangle.Y, ClientRectangle.Width - 1, ClientRectangle.Height - 1); base.OnPaint(e); public class ColorDialogEventArgs : EventArgs private IRadColorDialog dialog; public ColorDialogEventArgs(IRadColorDialog dialog) this.dialog = dialog; public IRadColorDialog Dialog get return dialog; public delegate void ColorDialogCreatedEventHandler(object sender, ColorDialogEventArgs args);using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class System Settings / Form codepublic partial class Form1 : TreeExamplesControl Bitmap bottomRightBitmap = Resources.TV_email; private string clickedNode; public Form1()InitializeComponent();this.radLblSelectedNode.Text = "" this.radLblSelectedItem.Text = ""this.Load += new EventHandler(Form1_Load);this.SelectedControl = this.radTreeViewDemo; this.radTreeViewDemo.AllowEdit = true; this.radContextMenu1.DropDownOpening += new System.ComponentModel.CancelEventHandler(radContextMenu1_DropDownOpening); public override RadTreeView TreeControl get return this.radTreeViewDemo; public override Bitmap BottomRightImage get return bottomRightBitmap; public override string HeaderText get return "Mail" private void Form1_Load(object sender, EventArgs e)this.radMenuItem1.Click += new EventHandler(radMenuItem1_Click);this.radMenuItem2.Click +=new EventHandler(radMenuItem2_Click);this.radMenuItem4.Click +=new EventHandler(radMenuItem4_Click);this.radMenuItem5.Click +=new EventHandler(radMenuItem5_Click);this.radTreeViewDemo.NodeMouseDown += new Telerik.WinControls.UI.RadTreeView.TreeViewMouseEventHandler(node_MouseDown);private void node_MouseDown(object sender, RadTreeViewEventArgs e)if (Control.MouseButtons = MouseButtons.Right)clickedNode = e.Node.Text; private void SetLabel(object sender) RadMenuItem item = sender as RadMenuItem; if (item != null) radLblSelectedNode.Text = this.clickedNode; radLblSelectedItem.Text = item.Text; void radContextMenu1_DropDownOpening(object sender, System.ComponentModel.CancelEventArgs e) RadTreeNode node = this.radTreeViewDemo.SelectedNode; if (node != null) this.radMenuItem1.Enabled = node.Enabled; this.radMenuItem4.Enabled = node.Enabled; this.radMenuItem5.Enabled = node.Enabled; if (node.Enabled) this.radMenuItem2.Text = "Disable" else this.radMenuItem2.Text = "Enable" private void radMenuItem1_Click(object sender, EventArgs e) SetLabel(sender); if (this.radTreeViewDemo.SelectedNode != null) this.radTreeViewDemo.BeginEdit(); private void radMenuItem2_Click(object sender, EventArgs e) SetLabel(sender); if (this.radTreeViewDemo.SelectedNode != null) this.radTreeViewDemo.SelectedNode.Enabled = !this.radTreeViewDemo.SelectedNode.Enabled; private void radMenuItem4_Click(object sender, EventArgs e) SetLabel(sender); if (this.radTreeViewDemo.SelectedNode != null) this.radTreeViewDemo.SelectedNode.Remove(信息录入); private void radMenuItem5_Click(object sender, EventArgs e) SetLabel(sender); if (this.radTreeViewDemo.SelectedNode != null) this.radTreeViewDemo.SelectedNode.Expand(); RadTreeNode newNode = this.radTreeViewDemo.SelectedNode.Nodes.Add("New Folder"); if (newNode != null) this.radTreeViewDemo.SelectedNode = newNode; this.radTreeViewDemo.BeginEdit(); using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Trace Settings / RadMediaItem allows a user to populate RadMediaPlayer with media items. / RadMediaItem is identified by the following properties:/ Source - the Uri of the media file;/ ImageSource - the Uri of the image file that will represent RadMediaItem in RadmediaPlayer's playlist;/ Header - Content that is displayed in the Playlist area of RadMediaPlayer.TelerikToolboxCategory("Containers")TemplateVisualState(Name = RadMediaItem.NormalStateName, GroupName = RadMediaItem.CommonStatesGroupName)TemplateVisualState(Name = RadMediaItem.DisabledStateName, GroupName = RadMediaItem.CommonStatesGroupName)TemplateVisualState(Name = RadMediaItem.MouseOverStateName, GroupName = RadMediaItem.CommonStatesGroupName)TemplateVisualState(Name = RadMediaItem.SelectedStateName, GroupName = RadMediaItem.SelectionStatesGroupName)TemplateVisualState(Name = RadMediaItem.NotSelectedStateName, GroupName = RadMediaItem.SelectionStatesGroupName)public partial class RadMediaItem : HeaderedSelector, ISelectableprivate Grid layoutRoot;private ItemsPresenter itemsPresenter;private bool isMouseOver;private bool chapterScrubbed;private RadMediaPlayer parentPlayer;/ Initializes a new instance of the <see cref="RadMediaItem"/> class.public RadMediaItem()DefaultStyleKey = typeof(RadMediaItem);this.MouseEnter += this.RadMediaItem_MouseEnter;this.MouseLeave += this.RadMediaItem_MouseLeave;this.IsEnabledChanged += this.RadMediaItem_IsEnabledChanged;this.MouseLeftButtonDown += this.RadMediaItem_MouseLeftButtonDown;/ When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call <see cref="M:System.Windows.Controls.Control.ApplyTemplate"/>.public override void OnApplyTemplate()base.OnApplyTemplate();this.layoutRoot = GetTemplateChild("LayoutRoot") as Grid;this.itemsPresenter = GetTemplateChild("itemsPresenter") as ItemsPresenter;if (this.ParentPlayer != null && this.IsSelected)this.SelectInternal();this.UpdateStates();/ Called when the RadMediaItem is selected in a RadMediaPlayer./ <param name="e">The event data.</param>/ <remarks>/ This method is called when the IsSelected property changes to true./ </remarks>public void OnSelected(RadRoutedEventArgs e)this.SelectInternal();this.UpdateStates();this.RaiseEvent(e);/ Called when the RadMediaItem is unselected in a RadMediaPlayer./ <param name="e">The event data.</param>/ <remarks>/ This method is called when the IsSelected property changes to true./ </remarks>public void OnUnselected(RadRoutedEventArgs e)if (this.ParentPlayer != null && this.ParentPlayer.SelectedIndex < 0)this.ParentPlayer.SetValue(RadMediaPlayer.SelectedMediaItemKey, null);if (this.IsStreamingSource)this.DetachStream();if (this.ParentPlayer != null && this.ParentPlayer.TimerMediaSliderSync != null)this.ParentPlayer.TimerMediaSliderSync.Stop();this.HideChapters();this.UpdateStates();this.RaiseEvent(e);internal RadMediaChapter GetContainer(object item)return (this.IsItemItsOwnContainerOverride(item) ? item : this.ItemContainerGenerator.ContainerFromItem(item) as RadMediaChapter;internal ItemsPresenter ExtractChapters(数据统计)if (this.layoutRoot != null && this.layoutRoot.Children.Contains(this.itemsPresenter)this.layoutRoot.Children.Remove(this.itemsPresenter);if (this.itemsPresenter != null)this.itemsPresenter.Opacity = 1;this.itemsPresenter.IsHitTestVisible = true;return this.itemsPresenter;internal void HideChapters()if (this.ParentPlayer = null)return;this.ParentPlayer.RemoveTickMarksOnTimeSlider();this.ParentPlayer.IsChaptersPanelVisible = false;this.ParentPlayer.ClearChapters();if (this.layoutRoot != null && !this.layoutRoot.Children.Contains(this.itemsPresenter)this.layoutRoot.Children.Add(this.itemsPresenter);if (this.itemsPresenter != null)this.itemsPresenter.Opacity = 0;this.itemsPresenter.IsHitTestVisible = false;internal void HandleChapterReached()this.chapterScrubbed = true;RadMediaChapter item = this.GetContainers<RadMediaChapter>().Where(ch => ch != null && ch.Position.TotalSeconds <= this.Position).OrderBy(ch => ch.Position.TotalSeconds).LastOrDefault();this.SelectedIndex = item != null ? this.ItemContainerGenerator.IndexFromContainer(item) : -1;this.chapterScrubbed = false;internal void AttachStream()if (this.StreamAttached != null)this.StreamAttached(this, EventArgs.Empty);internal void DetachStream()if (this.StreamDetached != null)this.StreamDetached(this, EventArgs.Empty);/ Raises the SelectionChanged event./ <param name="e"></param>protected override void OnSelectionChanged(System.Windows.Controls.SelectionChangedEventArgs e)base.OnSelectionChanged(e);if (e.AddedItems != null && e.AddedItems.Count = 1)RadMediaChapter selectedChapter = this.GetContainer(e.AddedItems0);if (selectedChapter != null)if (!this.chapterScrubbed)this.Position = selectedChapter.Position.TotalSeconds + .3;if (this.parentPlayer != null)this.parentPlayer.Position = selectedChapter.Position.TotalSeconds + .3;if (this.ParentPlayer != null)this.ParentPlayer.RaiseEvent(new RadRoutedEventArgs(RadMediaPlayer.ChapterReachedEvent, this);C

    注意事项

    本文(企业一体化管理软件系统-源代码.docx)为本站会员(豆****)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开