protected static string CreateFilterEntry(IconEditor e)
 {
     string fileDialogDescription = e.GetFileDialogDescription();
     string str2 = CreateExtensionsString(e.GetExtensions(), ",");
     string str3 = CreateExtensionsString(e.GetExtensions(), ";");
     return (fileDialogDescription + "(" + str2 + ")|" + str3);
 }
        protected static string CreateFilterEntry(IconEditor e)
        {
            string fileDialogDescription = e.GetFileDialogDescription();
            string str2 = CreateExtensionsString(e.GetExtensions(), ",");
            string str3 = CreateExtensionsString(e.GetExtensions(), ";");

            return(fileDialogDescription + "(" + str2 + ")|" + str3);
        }
Esempio n. 3
0
        /// <include file='doc\IconEditor.uex' path='docs/doc[@for="IconEditor.CreateFilterEntry"]/*' />
        /// <devdoc>
        ///    <para>[To be supplied.]</para>
        /// </devdoc>
        protected static string CreateFilterEntry(IconEditor e)
        {
            string desc      = e.GetFileDialogDescription();
            string exts      = CreateExtensionsString(e.GetExtensions(), ",");
            string extsSemis = CreateExtensionsString(e.GetExtensions(), ";");

            return(desc + "(" + exts + ")|" + extsSemis);
        }
Esempio n. 4
0
        protected static string CreateFilterEntry(IconEditor editor)
        {
            string description = editor.GetFileDialogDescription();
            string extensions  = CreateExtensionsString(editor.GetExtensions(), ",");
            string extensionsWithSemicolons = CreateExtensionsString(editor.GetExtensions(), ";");

            return($"{description}({extensions})|{extensionsWithSemicolons}");
        }
Esempio n. 5
0
		protected static string CreateFilterEntry (IconEditor e)
		{
			StringBuilder sb = new StringBuilder();
			string ExtStr = CreateExtensionsString (e.GetExtensions(), ";");

			sb.Append (e.GetFileDialogDescription());
			sb.Append (" (" + ExtStr + ")" + "|");
			sb.Append (ExtStr);
			return sb.ToString();
		}
Esempio n. 6
0
        protected static string CreateFilterEntry(IconEditor e)
        {
            StringBuilder sb     = new StringBuilder();
            string        ExtStr = CreateExtensionsString(e.GetExtensions(), ";");

            sb.Append(e.GetFileDialogDescription());
            sb.Append(" (" + ExtStr + ")" + "|");
            sb.Append(ExtStr);
            return(sb.ToString());
        }
Esempio n. 7
0
        protected static string CreateFilterEntry(IconEditor editor)
        {
            const string Comma      = ",";
            const string SemiColon  = ";";
            const string LeftParan  = "(";
            const string RightParan = ")";
            const string Pipe       = "|";

            string desc      = editor.GetFileDialogDescription();
            string exts      = CreateExtensionsString(editor.GetExtensions(), Comma);
            string extsSemis = CreateExtensionsString(editor.GetExtensions(), SemiColon);

            return(desc + LeftParan + exts + RightParan + Pipe + extsSemis);
        }
Esempio n. 8
0
 protected static string CreateFilterEntry(IconEditor e)
 {
     throw null;
 }