Exemplo n.º 1
0
        void ShowMessageTip()
        {
            m_firstUseBalloon = new MessageBalloon();
            m_firstUseBalloon.Parent = this.button_newInstance;
            m_firstUseBalloon.Title = "安装 dp2kernel 数据库内核";
            m_firstUseBalloon.TitleIcon = TooltipIcon.Info;
            m_firstUseBalloon.Text = "请按此按钮创建第一个实例";

            m_firstUseBalloon.Align = BalloonAlignment.BottomRight;
            m_firstUseBalloon.CenterStem = false;
            m_firstUseBalloon.UseAbsolutePositioning = false;
            m_firstUseBalloon.Show();
        }
Exemplo n.º 2
0
        void HideMessageTip()
        {
            if (m_firstUseBalloon == null)
                return;

            m_firstUseBalloon.Dispose();
            m_firstUseBalloon = null;
        }
Exemplo n.º 3
0
        void ShowMessageTip()
        {
            m_firstUseBalloon = new MessageBalloon();
            m_firstUseBalloon.Parent = this.textBox_instanceName;
            m_firstUseBalloon.Title = "创建第一个实例";
            m_firstUseBalloon.TitleIcon = TooltipIcon.Info;
            m_firstUseBalloon.Text = "对于第一个实例(或者唯一的实例)来说,可以让实例名保持为空,这样,缺省的数据目录名和协议路径都可以简短一些";

            m_firstUseBalloon.Align = BalloonAlignment.BottomRight;
            m_firstUseBalloon.CenterStem = false;
            m_firstUseBalloon.UseAbsolutePositioning = false;
            m_firstUseBalloon.Show();
        }
Exemplo n.º 4
0
        bool m_bBalloonDisplayed = false;   // 是否已经显示过一次了

        /*public*/ void ShowMessageTip()
        {
            if (m_bBalloonDisplayed == true)
                return;

            m_firstUseBalloon = new MessageBalloon();
            m_firstUseBalloon.Parent = this.webBrowser1;
            m_firstUseBalloon.Title = "如何确定 MARC 文件的编码方式?";
            m_firstUseBalloon.TitleIcon = TooltipIcon.Info;
            m_firstUseBalloon.Text = "\r\n这里显示了当前文件第一条 MARC 记录的内容,请仔细观察汉字内容部分是否正确。\r\n\r\n如果出现了乱码,可重选其他编码方式试试";

            m_firstUseBalloon.Align = BalloonAlignment.BottomRight;
            m_firstUseBalloon.CenterStem = false;
            m_firstUseBalloon.UseAbsolutePositioning = false;
            m_firstUseBalloon.Show();

            m_bBalloonDisplayed = true;
        }
Exemplo n.º 5
0
        void ShowMessageTip()
        {
            m_firstUseBalloon = new MessageBalloon();
            m_firstUseBalloon.Parent = this.button_newServer;
            m_firstUseBalloon.Title = "欢迎使用dp2编目前端";
            m_firstUseBalloon.TitleIcon = TooltipIcon.Info;
            m_firstUseBalloon.Text = "请按此按钮创建第一个 dp2library 服务器目标";

            m_firstUseBalloon.Align = BalloonAlignment.BottomRight;
            m_firstUseBalloon.CenterStem = false;
            m_firstUseBalloon.UseAbsolutePositioning = false;
            m_firstUseBalloon.Show();
        }
Exemplo n.º 6
0
        void HideMessageTip()
        {
            if (m_firstUseBalloon == null)
                return;

            m_firstUseBalloon.Dispose();
            m_firstUseBalloon = null;

            this.checkBox_savePasswordShort.BackColor = SystemColors.Control;
            this.checkBox_savePasswordShort.ForeColor = SystemColors.ControlText;
            this.checkBox_savePasswordShort.Padding = new Padding(0);
        }
Exemplo n.º 7
0
        public void ShowShortSavePasswordTip()
        {
            m_firstUseBalloon = new MessageBalloon();
            m_firstUseBalloon.Parent = this.checkBox_savePasswordShort;
            m_firstUseBalloon.Title = "小技巧";
            m_firstUseBalloon.TitleIcon = TooltipIcon.Info;
            m_firstUseBalloon.Text = "勾选 “短期保存密码” 项,可以让内务前端在运行期间记住您用过的密码,不再反复出现本对话框";

            m_firstUseBalloon.Align = BalloonAlignment.BottomRight;
            m_firstUseBalloon.CenterStem = false;
            m_firstUseBalloon.UseAbsolutePositioning = false;
            m_firstUseBalloon.Show();

            this.checkBox_savePasswordShort.BackColor = SystemColors.Highlight;
            this.checkBox_savePasswordShort.ForeColor = SystemColors.HighlightText;
            this.checkBox_savePasswordShort.Padding = new Padding(6);

        }