亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sssoundcontrol.cs

?? 飛信的收發使用csharp進行開發
?? CS
?? 第 1 頁 / 共 2 頁
字號:
            this.xtbFilePath.BackColor = Color.FromArgb(240, 240, 240);
            this.xtbFilePath.BorderStyle = BorderStyle.FixedSingle;
            this.xtbFilePath.Location = new Point(0x13, 0xac);
            this.xtbFilePath.Name = "xtbFilePath";
            this.xtbFilePath.ReadOnly = true;
            this.xtbFilePath.Size = new Size(0x147, 20);
            this.xtbFilePath.TabIndex = 4;
            this.openFileDialogSound.Filter = "wave files (*.wav)|*.wav";
            this.rbAllYes.AutoSize = true;
            this.rbAllYes.Checked = true;
            this.rbAllYes.Location = new Point(0x24, 0x100);
            this.rbAllYes.Name = "rbAllYes";
            this.rbAllYes.Size = new Size(0x79, 0x11);
            this.rbAllYes.TabIndex = 8;
            this.rbAllYes.TabStop = true;
            this.rbAllYes.Text = "好友上線時通知我";
            this.rbAllYes.UseVisualStyleBackColor = true;
            this.rbAllNo.AutoSize = true;
            this.rbAllNo.Location = new Point(0x24, 280);
            this.rbAllNo.Name = "rbAllNo";
            this.rbAllNo.Size = new Size(0x85, 0x11);
            this.rbAllNo.TabIndex = 9;
            this.rbAllNo.Text = "不顯示好友上線通知";
            this.rbAllNo.UseVisualStyleBackColor = true;
            this.rbByContact.AutoSize = true;
            this.rbByContact.Location = new Point(0x24, 0x12e);
            this.rbByContact.Name = "rbByContact";
            this.rbByContact.Size = new Size(0x79, 0x11);
            this.rbByContact.TabIndex = 10;
            this.rbByContact.Text = "每個好友單獨設置";
            this.rbByContact.UseVisualStyleBackColor = true;
            this.label1.AutoEllipsis = false;
            this.label1.AutoSize = true;
            this.label1.BorderColor = Color.Black;
            this.label1.BorderStyle = BorderStyle.None;
            this.label1.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.label1.Location = new Point(0x10, 0xec);
            this.label1.Name = "label1";
            this.label1.Size = new Size(80, 14);
            this.label1.TabIndex = 7;
            this.label1.Text = "好友上線通知";
            this.label1.TextAlign = ContentAlignment.TopLeft;
            this.label1.UseMnemonic = false;
            this.pbPreview.ErrorImage = null;
            this.pbPreview.InitialImage = null;
            this.pbPreview.Location = new Point(0x81, 0x1f);
            this.pbPreview.Name = "pbPreview";
            this.pbPreview.Size = new Size(0x10, 0x11);
            this.pbPreview.TabIndex = 12;
            this.pbPreview.TabStop = false;
            this.lbPreTip.AutoEllipsis = false;
            this.lbPreTip.AutoSize = true;
            this.lbPreTip.BorderColor = Color.Black;
            this.lbPreTip.BorderStyle = BorderStyle.None;
            this.lbPreTip.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lbPreTip.Location = new Point(0x91, 0x22);
            this.lbPreTip.Name = "lbPreTip";
            this.lbPreTip.Size = new Size(0x54, 14);
            this.lbPreTip.TabIndex = 13;
            this.lbPreTip.Text = "可以預覽聲音)";
            this.lbPreTip.TextAlign = ContentAlignment.TopLeft;
            this.lbPreTip.UseMnemonic = false;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.lbPreTip);
            base.Controls.Add(this.pbPreview);
            base.Controls.Add(this.label1);
            base.Controls.Add(this.rbByContact);
            base.Controls.Add(this.rbAllNo);
            base.Controls.Add(this.rbAllYes);
            base.Controls.Add(this.xtbFilePath);
            base.Controls.Add(this.dgvSound);
            base.Controls.Add(this.chkMsgNotify);
            base.Controls.Add(this.lbNotify);
            base.Controls.Add(label2);
            base.Controls.Add(this.ckEnableSound);
            base.Controls.Add(this.lbSound);
            base.Controls.Add(label);
            base.Name = "SsSoundControl";
            base.Size = new Size(0x16b, 0x1b1);
            ((ISupportInitialize) this.dgvSound).EndInit();
            ((ISupportInitialize) this.pbPreview).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void initSoundList()
        {
            this._soundList = new Dictionary<int, SoundFile>();
            this._soundList.Add(0, new SoundFile(StringTable.Configuration.Sound_OnlineNotify, (string) this._user.Configuration.UserSetting.SoundSetting.OnlineNotify));
            this._soundList.Add(1, new SoundFile(StringTable.Configuration.Sound_MsgNotify, (string) this._user.Configuration.UserSetting.SoundSetting.MsgNotify));
            this._soundList.Add(2, new SoundFile(StringTable.Configuration.Sound_SysNotify, (string) this._user.Configuration.UserSetting.SoundSetting.SysNotify));
        }

        private void initSoundUIList()
        {
            for (int i = 0; i < this._soundList.Count; i++)
            {
                if ((this._soundList[i].Path == null) || (this._soundList[i].Path.Length == 0))
                {
                    this.dgvSound.Rows.Add(new object[] { this._playPic, this._soundList[i].Text, StringTable.Common.Delete, StringTable.Common.Modify });
                }
                else
                {
                    this.dgvSound.Rows.Add(new object[] { this._playPic, this._soundList[i].Text, StringTable.Common.Delete, StringTable.Common.Modify });
                }
            }
        }

        private void modifySound(int index)
        {
            string path = this._soundList[index].Path;
            if ((path.Length > 0) && File.Exists(path))
            {
                this.openFileDialogSound.InitialDirectory = Path.GetDirectoryName(path);
            }
            else
            {
                this.openFileDialogSound.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic);
            }
            if (this.openFileDialogSound.ShowDialog() == DialogResult.OK)
            {
                string fileName = this.openFileDialogSound.FileName;
                if (!File.Exists(fileName))
                {
                    this._iFrameworkWnd.UnifiedMessageBox.ShowError(StringTable.Configuration.FileNotExist_Sound);
                }
                else
                {
                    this.xtbFilePath.Text = fileName;
                    this.dgvSound.Rows[index].Cells[0].Value = this._playPic;
                    this._soundList[index].Path = fileName;
                }
            }
        }

        private void playSound(int index)
        {
            string path = this._soundList[index].Path;
            if (string.IsNullOrEmpty(path))
            {
                this._iFrameworkWnd.UnifiedMessageBox.ShowError(base.FindForm(), "您尚未指定聲音文件!");
            }
            else if (!File.Exists(path))
            {
                this._iFrameworkWnd.UnifiedMessageBox.ShowError(base.FindForm(), "指定的聲音文件不存在!");
            }
            else
            {
                try
                {
                    using (SoundPlayer player = new SoundPlayer(path))
                    {
                        player.Play();
                    }
                }
                catch (Exception exception)
                {
                    this._iFrameworkWnd.UnifiedMessageBox.ShowError(base.FindForm(), "無法播放指定的聲音文件!");
                    ClientLogger.WriteException(exception);
                }
            }
        }

        private void uiData_Changed(object sender, EventArgs e)
        {
            UiErrorHelper.HandEventSafely(this._iFrameworkWnd, delegate {
                base.Modified = true;
            });
        }

        public override bool UpdateData(bool update)
        {
            try
            {
                if (update)
                {
                    if (!this.CheckUserInput())
                    {
                        return false;
                    }
                    Suspender suspender = new Suspender(this._ns);
                    try
                    {
                        this._ns.NewMessageNotify.ProposedValue = this.chkMsgNotify.Checked;
                        if (this.rbAllYes.Checked)
                        {
                            this._ns.OnlineNotify.ProposedValue = 0;
                        }
                        else if (this.rbAllNo.Checked)
                        {
                            this._ns.OnlineNotify.ProposedValue = 1;
                        }
                        else if (this.rbByContact.Checked)
                        {
                            this._ns.OnlineNotify.ProposedValue = 2;
                        }
                        else
                        {
                            this._ns.OnlineNotify.ProposedValue = 0;
                        }
                    }
                    finally
                    {
                        suspender.Dispose();
                    }
                    Suspender suspender2 = new Suspender(this.ss);
                    try
                    {
                        this.ss.SoundEnabled.ProposedValue = this.ckEnableSound.Checked;
                        if (this._soundList[0].Path != null)
                        {
                            this.ss.OnlineNotify.ProposedValue = this._soundList[0].Path;
                        }
                        if (this._soundList[1].Path != null)
                        {
                            this.ss.MsgNotify.ProposedValue = this._soundList[1].Path;
                        }
                        if (this._soundList[2].Path != null)
                        {
                            this.ss.SysNotify.ProposedValue = this._soundList[2].Path;
                        }
                    }
                    finally
                    {
                        suspender2.Dispose();
                    }
                }
                else
                {
                    this._soundList[0].Path = this.ss.OnlineNotify.Value;
                    this._soundList[1].Path = this.ss.MsgNotify.Value;
                    this._soundList[2].Path = this.ss.SysNotify.Value;
                    this.xtbFilePath.Text = this._soundList[0].Path;
                    this.dgvSound.Rows[0].Selected = true;
                    this.ckEnableSound.Checked = (bool) this.ss.SoundEnabled;
                    this.dgvSound.Enabled = this.ckEnableSound.Checked;
                    if (this._ns.OnlineNotify == null)
                    {
                        this.rbAllYes.Checked = true;
                    }
                    else if (this._ns.OnlineNotify == 1)
                    {
                        this.rbAllNo.Checked = true;
                    }
                    else if (this._ns.OnlineNotify == 2)
                    {
                        this.rbByContact.Checked = true;
                    }
                    else
                    {
                        this.rbAllYes.Checked = true;
                    }
                    this.chkMsgNotify.Checked = (bool) this._ns.NewMessageNotify;
                }
                base.Modified = false;
                return true;
            }
            catch (Exception exception)
            {
                ClientLogger.WriteException(exception);
                return false;
            }
        }

        private Imps.Client.Core.User _user
        {
            get
            {
                return this._iFrameworkWnd.AccountManager.CurrentUser;
            }
        }
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人高清在线| 99riav久久精品riav| 成人视屏免费看| 欧美日韩在线播放| 国产欧美日韩另类视频免费观看| 一区二区三区小说| 国产老女人精品毛片久久| 欧美三级在线看| 综合电影一区二区三区| 国产精品一二三在| 精品女同一区二区| 亚洲chinese男男1069| 成人av免费在线观看| 日韩欧美二区三区| 天使萌一区二区三区免费观看| 99久久免费精品| 欧美国产国产综合| 日韩av一区二区三区四区| 一本一本大道香蕉久在线精品 | 国产精品一区二区在线观看不卡| 欧美日韩专区在线| 一区二区三区蜜桃| 色欧美88888久久久久久影院| 国产精品伦理一区二区| 国产成人h网站| 国产亚洲精品福利| 成人小视频免费观看| 国产欧美日韩精品一区| 国内久久精品视频| 久久久综合九色合综国产精品| 蜜桃一区二区三区在线观看| 欧美日韩成人综合| 免费在线观看不卡| 日韩欧美一区二区视频| 岛国一区二区三区| 亚洲天堂精品视频| 中文字幕巨乱亚洲| 国产激情视频一区二区在线观看 | 日韩一区二区免费视频| 国产电影一区在线| 天堂影院一区二区| 亚洲人成网站精品片在线观看| 欧美一区二区女人| 一本一本大道香蕉久在线精品 | 日韩视频免费直播| 色哟哟欧美精品| 国产一区二区精品在线观看| 亚洲一区二区视频在线观看| 国产日韩亚洲欧美综合| 91精品国产91久久久久久最新毛片| 99久久精品费精品国产一区二区| 蜜臀99久久精品久久久久久软件| 亚洲一区二区视频| 日韩毛片高清在线播放| 2023国产精品自拍| 日韩三级.com| 欧美二区在线观看| 91美女在线视频| 成人精品国产一区二区4080| 毛片av一区二区| 国产91丝袜在线18| 免费观看日韩av| 天堂一区二区在线| 午夜天堂影视香蕉久久| 亚洲黄色av一区| 日韩理论片在线| 中文字幕一区二区三区在线不卡| 久久久99精品免费观看不卡| 久久久久高清精品| 国产午夜精品一区二区 | 国产精品免费久久| 久久久综合精品| 久久综合色播五月| 久久久99精品免费观看不卡| 久久久久久久精| 国产亚洲综合av| 国产午夜精品久久久久久久| 久久精品一区蜜桃臀影院| 久久伊人中文字幕| 久久精品水蜜桃av综合天堂| 久久久青草青青国产亚洲免观| 欧美变态tickling挠脚心| 欧美成人精品高清在线播放| 日韩精品一区二区三区四区| 欧美成人女星排行榜| 26uuu国产在线精品一区二区| wwwwxxxxx欧美| 欧美国产欧美综合| 中文字幕在线不卡一区二区三区| 综合久久久久久| 亚洲国产va精品久久久不卡综合| 亚洲gay无套男同| 麻豆国产一区二区| 国产精品影视在线| 99在线热播精品免费| 色综合久久99| 7777女厕盗摄久久久| 精品国产髙清在线看国产毛片| 久久综合一区二区| 国产精品久久免费看| 亚洲国产精品久久艾草纯爱| 天天av天天翘天天综合网| 久久不见久久见中文字幕免费| 国产一区在线不卡| 色香蕉成人二区免费| 国产精品国产三级国产有无不卡| 亚洲图片激情小说| 日韩电影在线一区二区三区| 韩国av一区二区| 一本一道久久a久久精品 | www亚洲一区| 综合久久久久综合| 秋霞影院一区二区| 盗摄精品av一区二区三区| 欧美性猛片aaaaaaa做受| 精品理论电影在线| 亚洲欧美另类图片小说| 日本不卡视频在线观看| 成人免费av网站| 欧美日韩1区2区| 国产精品沙发午睡系列990531| 亚洲一区二区欧美| 国产成人av电影免费在线观看| 欧美在线色视频| 久久精品日产第一区二区三区高清版 | 性做久久久久久久久| 国产精品一品二品| 欧美片在线播放| 成人欧美一区二区三区小说| 男女男精品网站| 一本久久精品一区二区| 精品国产1区二区| 一区二区三区精品久久久| 精品一区二区成人精品| 欧美亚洲综合在线| 欧美国产日韩a欧美在线观看 | 精品亚洲成a人在线观看| 色妞www精品视频| 久久精品欧美一区二区三区麻豆| 天堂久久久久va久久久久| 一本大道久久a久久精二百| 久久久久久夜精品精品免费| 天天综合日日夜夜精品| av激情亚洲男人天堂| 久久综合资源网| 免费成人小视频| 欧美乱妇一区二区三区不卡视频| 亚洲色图视频免费播放| 国产成人在线影院| 欧美成人午夜电影| 日本怡春院一区二区| 欧美日产国产精品| 亚洲宅男天堂在线观看无病毒 | 欧美大片顶级少妇| 石原莉奈在线亚洲二区| 精品视频全国免费看| 亚洲精品亚洲人成人网| 波多野结衣精品在线| 日本一区二区视频在线| 国产精品99久久久| 日韩美女主播在线视频一区二区三区| 亚洲国产乱码最新视频 | 最新久久zyz资源站| 成人高清视频在线| 中国色在线观看另类| 成人一级片在线观看| 日本一区二区久久| 成人精品视频一区二区三区尤物| 国产三级精品视频| 成人综合婷婷国产精品久久| 久久精品视频在线看| 成人丝袜视频网| 亚洲欧美自拍偷拍| 色偷偷久久一区二区三区| 一区二区三区四区av| 欧美丝袜丝交足nylons图片| 亚洲va欧美va人人爽午夜| 色老头久久综合| 亚洲国产视频在线| 在线不卡a资源高清| 免费观看在线综合色| 久久久综合九色合综国产精品| 国产成人综合亚洲网站| 中文一区二区完整视频在线观看| 盗摄精品av一区二区三区| 亚洲乱码国产乱码精品精的特点| 色婷婷av一区二区三区之一色屋| 亚洲午夜久久久久久久久久久| 91精品国产全国免费观看| 精品一区二区免费| 国产精品视频一区二区三区不卡| 91女神在线视频| 亚洲v日本v欧美v久久精品| 精品国产精品网麻豆系列| 成人免费视频caoporn| 一区二区三区在线观看网站| 日韩一区二区在线观看| 大桥未久av一区二区三区中文| 亚洲综合免费观看高清在线观看| 日韩视频在线一区二区|