• 大小: 1.59MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-30
  • 语言: C#
  • 标签: C#源码  开源  paint.net  

资源简介

C#开源代码,paint.net,图形处理软件,类似photoshop功能,对一些需要进行图片处理的很有帮助

资源截图

代码片段和文件信息

/////////////////////////////////////////////////////////////////////////////////
// Paint.NET                                                                   //
// Copyright (C) Rick Brewster Tom Jackson and past contributors.            //
// Portions Copyright (C) Microsoft Corporation. All Rights Reserved.          //
// See src/Resources/Files/License.txt for full licensing and attribution      //
// details.                                                                    //
// .                                                                           //
/////////////////////////////////////////////////////////////////////////////////

using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace PaintDotNet
{
    public class AboutDialog 
        : PdnbaseForm
    {
        private System.Windows.Forms.Button okButton;
        private System.Windows.Forms.Label creditsLabel;
        private System.Windows.Forms.RichTextBox richCreditsBox;
        private System.Windows.Forms.TextBox copyrightLabel;
        private Label versionLabel;
        private PdnBanner pdnBanner;

        public AboutDialog()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.richCreditsBox.BackColor = SystemColors.Window;

            string textFormat = PdnResources.GetString(“AboutDialog.Text.Format“);
            this.Text = string.Format(textFormat PdnInfo.GetBareProductName());

            this.pdnBanner.BannerText = string.Empty;// PdnInfo.GetFriendlyVersionString();
            this.richCreditsBox.LoadFile(PdnResources.GetResourceStream(“Files.AboutCredits.rtf“) RichTextBoxStreamType.RichText);
            this.copyrightLabel.Text = PdnInfo.GetCopyrightString();

            this.Icon = PdnInfo.AppIcon;

            this.okButton.Text = PdnResources.GetString(“Form.OkButton.Text“);
            this.okButton.Location = new Point((this.ClientSize.Width - this.okButton.Width) / 2 this.okButton.Top);

            this.creditsLabel.Text = PdnResources.GetString(“AboutDialog.CreditsLabel.Text“);

            Font bannerFont = this.pdnBanner.BannerFont;
            Font newBannerFont = Utility.CreateFont(bannerFont.Name 8.0f bannerFont.style);
            this.pdnBanner.BannerFont = newBannerFont;
            newBannerFont.Dispose();
            bannerFont.Dispose();

            this.versionLabel.Text = PdnInfo.GetFullAppName();
        }

        #region Windows Form Designer generated code
        /// 
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// 

        private void InitializeComponent()
        {
            this.okButton = new System.Windows.Forms.Button();
            this.creditsLabel = new System.Windows.F

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-10-29 18:14  paintdotnet-0.1.63\
     文件        7885  2008-09-18 11:13  paintdotnet-0.1.63\AboutDialog.cs
     文件           0  2008-09-18 11:13  paintdotnet-0.1.63\AboutDialog.resx
     文件         850  2008-09-18 11:13  paintdotnet-0.1.63\ActionFlags.cs
     目录           0  2012-10-29 18:14  paintdotnet-0.1.63\Actions\
     文件        4565  2008-09-18 11:13  paintdotnet-0.1.63\Actions\AcquireFromScannerOrCameraAction.cs
     文件       10284  2008-09-18 11:13  paintdotnet-0.1.63\Actions\CanvasSizeAction.cs
     文件        1554  2008-09-18 11:13  paintdotnet-0.1.63\Actions\ClearHistoryAction.cs
     文件        1317  2008-09-18 11:13  paintdotnet-0.1.63\Actions\ClearMruListAction.cs
     文件        5025  2008-09-18 11:13  paintdotnet-0.1.63\Actions\CloseAllWorkspacesAction.cs
     文件        5904  2008-09-18 11:13  paintdotnet-0.1.63\Actions\CloseWorkspaceAction.cs
     文件        5579  2008-09-18 11:13  paintdotnet-0.1.63\Actions\CopyToClipboardAction.cs
     文件        2474  2008-09-18 11:13  paintdotnet-0.1.63\Actions\CutAction.cs
     文件        2325  2008-09-18 11:13  paintdotnet-0.1.63\Actions\DuplicateActivelayerAction.cs
     文件        1275  2008-09-18 11:13  paintdotnet-0.1.63\Actions\FliplayerHorizontalAction.cs
     文件        1265  2008-09-18 11:13  paintdotnet-0.1.63\Actions\FliplayerVerticalAction.cs
     文件        2300  2008-09-18 11:13  paintdotnet-0.1.63\Actions\HistoryFastForwardAction.cs
     文件        1797  2008-09-18 11:13  paintdotnet-0.1.63\Actions\HistoryRedoAction.cs
     文件        2263  2008-09-18 11:13  paintdotnet-0.1.63\Actions\HistoryRewindAction.cs
     文件        1798  2008-09-18 11:13  paintdotnet-0.1.63\Actions\HistoryUndoAction.cs
     文件       13492  2008-09-18 11:13  paintdotnet-0.1.63\Actions\ImportFromFileAction.cs
     文件        1892  2008-09-18 11:13  paintdotnet-0.1.63\Actions\MoveActivelayerDownAction.cs
     文件        2103  2008-09-18 11:13  paintdotnet-0.1.63\Actions\MoveActivelayerUpAction.cs
     文件        3754  2008-09-18 11:13  paintdotnet-0.1.63\Actions\NewImageAction.cs
     文件        1600  2008-09-18 11:13  paintdotnet-0.1.63\Actions\OpenActivelayerPropertiesAction.cs
     文件        1838  2008-09-18 11:13  paintdotnet-0.1.63\Actions\OpenFileAction.cs
     文件       10948  2008-09-18 11:13  paintdotnet-0.1.63\Actions\PasteAction.cs
     文件        3997  2008-09-18 11:13  paintdotnet-0.1.63\Actions\PasteInToNewImageAction.cs
     文件        1790  2008-09-18 11:13  paintdotnet-0.1.63\Actions\PasteInToNewlayerAction.cs
     文件        2649  2008-09-18 11:13  paintdotnet-0.1.63\Actions\PrintAction.cs
     文件       15102  2008-09-18 11:13  paintdotnet-0.1.63\Actions\ResizeAction.cs
............此处省略795个文件信息

评论

共有 条评论