Source/Ribbon/MessageBoxDialog.cs

(开头部分) 23KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Globalization;

namespace DevComponents.DotNetBar
{
    internal class MessageBoxDialog : Office2007Form
    {
        private ButtonX Button1;
        private ButtonX Button2;
        private ButtonX Button3;
        private PictureBox PictureBox1;
        private PanelEx TextPanel;
        private eDotNetBarStyle m_Style = eDotNetBarStyle.Office2007;
        private bool m_Button1Visible = true;
        private bool m_Button2Visible = true;
        private bool m_Button3Visible = true;
        private MessageBoxButtons m_Buttons = MessageBoxButtons.OK;

        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        public MessageBoxDialog()
        {
            InitializeComponent();
            TextPanel.DisableSelection();
        }

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.Button1 = new DevComponents.DotNetBar.ButtonX();
            this.Button2 = new DevComponents.DotNetBar.ButtonX();
            this.Button3 = new DevComponents.DotNetBar.ButtonX();
            this.PictureBox1 = new System.Windows.Forms.PictureBox();
后面还有 540 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。