Example #1
0
        private void menuMsgBoxFilter_Click(object sender, EventArgs e)
        {
            var fm = new MsgFilterSetForm();

            fm.MsgFilter = MsgFilter;
            if (fm.ShowDialog() == DialogResult.OK)
            {
                MsgFilter       = fm.MsgFilter;
                gbMsgTitle.Text = string.Format(UIRes.I18N("MsgInformationTitle"), MsgFilter);
            }
        }
Example #2
0
        private void menuMsgBoxFilter_Click(object sender, EventArgs e)
        {
            var fm = new MsgFilterSetForm();

            fm.MsgFilter     = _msgFilter;
            fm.ShowDefFilter = true;
            if (fm.ShowDialog() == DialogResult.OK)
            {
                _msgFilter      = fm.MsgFilter;
                gbMsgTitle.Text = string.Format(ResUI.MsgInformationTitle, _msgFilter);
            }
        }
Example #3
0
        private void menuServerFilter_Click(object sender, EventArgs e)
        {
            var fm = new MsgFilterSetForm();

            fm.MsgFilter = serverFilter;
            if (fm.ShowDialog() == DialogResult.OK)
            {
                serverFilter   = fm.MsgFilter;
                gbServers.Text = string.Format(ResUI.MsgServerTitle, serverFilter);
                RefreshServers();
            }
        }
Example #4
0
        private void menuMsgBoxFilter_Click(object sender, EventArgs e)
        {
            var fm = new MsgFilterSetForm();

            fm.MsgFilter     = _msgFilter;
            fm.ShowDefFilter = true;
            if (fm.ShowDialog() == DialogResult.OK)
            {
                _msgFilter      = fm.MsgFilter;
                gbMsgTitle.Text = string.Format(ResUI.MsgInformationTitle, _msgFilter);
                Utils.RegWriteValue(Global.MyRegPath, Utils.MainMsgFilterKey, _msgFilter);
            }
        }