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);
        }
        /// <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);
        }
Beispiel #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}");
        }
Beispiel #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();
		}
Beispiel #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());
        }
Beispiel #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);
        }