<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7451666143908237285</id><updated>2024-08-29T17:02:10.493+02:00</updated><category term="Credentials"/><category term="Hasło"/><category term="WebDav"/><category term="Windows"/><category term="nie zapamiętuje"/><category term="reg key"/><category term="solution"/><category term="won&#39;t remember"/><title type='text'>Programista - zmagania codzienne</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7451666143908237285.post-4410943943099053378</id><published>2019-03-11T09:35:00.001+01:00</published><updated>2019-03-11T09:42:36.803+01:00</updated><title type='text'>How to build a maven JAX-RS project (to WAR) without web.xml</title><content type='html'>In the standard way the build process of the JAX-RS maven project will throw an error like:

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project rest: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
&lt;/code&gt;&lt;/pre&gt;


To run the build properly you simply need to add the following section to the pom.xml:

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;

&lt;textarea style=&quot;width: 98%; height: 140px&quot;&gt;&lt;plugin&gt;
    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
    &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
    &lt;version&gt;2.2&lt;/version&gt;
    &lt;configuration&gt;
     &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
    &lt;/configuration&gt;
&lt;/plugin&gt;
&lt;/textarea&gt;
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/4410943943099053378/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://programujemy.blogspot.com/2019/03/how-to-build-maven-jax-rs-project-to.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/4410943943099053378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/4410943943099053378'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/2019/03/how-to-build-maven-jax-rs-project-to.html' title='How to build a maven JAX-RS project (to WAR) without web.xml'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7451666143908237285.post-5319278133009747842</id><published>2016-02-03T08:02:00.001+01:00</published><updated>2016-02-03T08:02:16.976+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Credentials"/><category scheme="http://www.blogger.com/atom/ns#" term="Hasło"/><category scheme="http://www.blogger.com/atom/ns#" term="nie zapamiętuje"/><category scheme="http://www.blogger.com/atom/ns#" term="reg key"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><category scheme="http://www.blogger.com/atom/ns#" term="WebDav"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="won&#39;t remember"/><title type='text'>WebDav - nie zapamiętuje poświadczeń / hasła na systemach od Windows 7 do 8.1</title><content type='html'>Zamapowaliście lokalizację sieciowa w oparciu o WebDav. Wpisaliście wasze poświadczenia, ale po przelogowaniu Windows już ich nie pamięta. Brak Wam sposobu, by zapamiętywanie działało, a &quot;remember credentials&quot; wydaje się być ignorowany.

Rozwiazanie jest dość proste, choć trudno znależć je na sieci. Żeby zbędnie nie rozpisywać:

1. należy dodać do rejestru klucz w lokalizacji

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
&lt;/code&gt;
&lt;/pre&gt;

2. W lokalizacji dodajemy nowy klucz, o typie wartośći REG_MULTI_SZ

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;
AuthForwardServerList
&lt;/code&gt;
&lt;/pre&gt;

3. W wartościach klucza dodajemy url&#39;e ogólne domeny, w której znajduje się nasza mapowana lokalizacja, np:

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;
https://*.domena.local
http://*.domena.local
*.domena.local
&lt;/code&gt;
&lt;/pre&gt;

Restart WebClient, a najlepiej reboot maszyny.

Od tej chwili WebClient będzie wysyłał poświadczenia w ramach urli, które podaliście w liście z pkt. 3</content><link rel='replies' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/5319278133009747842/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://programujemy.blogspot.com/2016/02/webdav-nie-zapamietuje-poswiadczen-hasa.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/5319278133009747842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/5319278133009747842'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/2016/02/webdav-nie-zapamietuje-poswiadczen-hasa.html' title='WebDav - nie zapamiętuje poświadczeń / hasła na systemach od Windows 7 do 8.1'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7451666143908237285.post-4127111768370446468</id><published>2014-09-02T13:54:00.003+02:00</published><updated>2014-09-02T13:57:53.549+02:00</updated><title type='text'>Rejestrowanie zestawów .Net przy użyciu instalatora Inno Setup</title><content type='html'>Od pewnego czasu coraz większą popularność zdobywają &quot;alternatywne&quot; narzędzia do tworzenia pakietów instalacyjnych. Jednym z popularniejszych narzędzi tego typu jest Inno Setup (http://www.jrsoftware.org/isinfo.php).&lt;br /&gt;
Bywa jednak, że instalowany pakiet jest n.p. AddInem etc., co wymusza konieczność jego rejestracji przy użyciu narzędzia RegAsm.&lt;br /&gt;
InnoSetup nie zawiera bezpośredniego polecenia rejestrowania zestawów, a dodatkowych plików wsadowych, uruchamianych przez EndUsera nie będziemy przecież narzucać - w myśl zasady &quot;pełen automat&quot;.&lt;br /&gt;
Co więc zrobić?&lt;br /&gt;
Z pomocą przychodzi nam sekcja &quot;Run&quot; skryptu InnoSetup.&lt;br /&gt;
W tejże sekcji możemy z powodzeniem umieścić komendę, która nasze Assembly przy użyciu RegAsm zarejestruje:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;
[Run] &amp;nbsp; &amp;nbsp; &lt;br /&gt;
Filename:&quot;{reg:HKLM\SOFTWARE\Microsoft\.NETFramework,InstallRoot}\v4.0.30319\RegAsm.exe&quot;; Parameters: /codebase NaszAddinLubCokolwiek.dll;WorkingDir: {code:PluginDestination}; StatusMsg: &quot;Rejestracja Pluginu ...&quot;; Flags: runhidden;&lt;br /&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dobrze. Zarejestrowaliśmy. Ale co z tym zrobić, kiedy nasz dodatek będzie odinstalowywany? Przecież nie możemy zezwolić, by pozostał po nim śmietnik.&lt;br /&gt;
Tym razem z pomocą przychodzi sekcja [UninstallRun] Skryptu. W niej z kolei umieszczamy następującą linię:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;
[UninstallRun]&lt;br /&gt;
Filename:&quot;{reg:HKLM\SOFTWARE\Microsoft\.NETFramework,InstallRoot}\v4.0.30319\RegAsm.exe&quot;; Parameters: /unregister&amp;nbsp;NaszAddinLubCokolwiek.dll;WorkingDir: {code:PluginDestination}; StatusMsg: &quot;Odrejestrowywanie Pluginu&amp;nbsp;...&quot;; Flags: runhidden;&lt;br /&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
W ten oto sposób bez pisania dodatkowych batchy, tworzenia kolejnych tooli do rejestracji etc. przeprowadzamy cały proces czysto i schludnie.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BTW: jeśli komuś z Was nasuwają się jakieś pytania dotyczące narzędzia Inno Setup - w miarę wiedzy własnej postaram się pomóc. Pytania proszę zadawać w komentarzach - odpiszę, bądź jeśli taka będzie potrzeba - stworzę nowy artykuł.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
W planie: krótkie (bardzo) wprowadzenie do MEF Framework ;) - czyli jak w niezwykle prosty sposób stworzyć szkielet dla rozwiązań wielomodułowych.</content><link rel='replies' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/4127111768370446468/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://programujemy.blogspot.com/2014/09/rejestrowanie-zestawow-net-przy-uzyciu.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/4127111768370446468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/4127111768370446468'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/2014/09/rejestrowanie-zestawow-net-przy-uzyciu.html' title='Rejestrowanie zestawów .Net przy użyciu instalatora Inno Setup'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7451666143908237285.post-4377380862604420718</id><published>2012-04-16T18:57:00.001+02:00</published><updated>2012-04-16T19:01:18.670+02:00</updated><title type='text'>Prosty walidator PESEL - C#</title><content type='html'>Nazwa PESEL pochodzi od &quot;Powszechny elektroniczny system ewidencji ludności&quot;. Numer składa się zawsze z 11 cyfr, z których:&lt;br /&gt;
1. Pierwsze 6 cyfr stanowi datę urodzenia (ddmmyy)*&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * dla numerów PESEL z lat 2000 - 2099 do liczby miesięcy dodajemy 20! (np 103010 stanowi 10.10.2010)&lt;br /&gt;
2. cyfry od 7 do 10 to numer serii wraz z kodem płci (płeć to cyfra dziesiąta. Parzyste to żeńska, nieparzyste - męska)&lt;br /&gt;
3. cyfra 11 stanowi cyfrę kontrolną&lt;br /&gt;
&lt;br /&gt;
Cyfrę kontrolną obliczamy mnożąć kolejne cyfry (od 1 do 10) przez następujące wagi (kolejno):&lt;br /&gt;
{1, 3, 7, 9, 1, 3, 7, 9, 1, 3}&lt;br /&gt;
iloczyny sumujemy. Następnie otrzymaną sumę dzielimy przez 10.&lt;br /&gt;
a. jeśli w wyniku otrzymamy 0 i jedenasta cyfra numeru PESEL to 0 - numer jest poprawny&lt;br /&gt;
b. jeśli uzyskaliśmy wynik inny niż 0, odejmujemy ją od 10. Jeśli wynik odejmowania jest równy jedenastej cyfrze numeru PESEL - numer jest poprawny. Jeśli nie - jest błędny.&lt;br /&gt;
&lt;br /&gt;
Poniżej opisany algorytm w implementacji C#:&lt;br /&gt;
&lt;br /&gt;

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;/*
 * Created by SharpDevelop.
 * User: PJ
 * Date: 2012-04-10
 * Time: 21:35
 * 
 */
using System;

namespace Validators
{
    /// &amp;lt;summary&amp;gt;
    /// Klasa statyczna PeselValidator.
    /// &amp;lt;/summary&amp;gt;
    public static class PeselValidator
    {
        /// &amp;lt;summary&amp;gt;
        /// Mnozniki dla PESEL
        /// &amp;lt;/summary&amp;gt;
        private static readonly int[] mnozniki = {1, 3, 7, 9, 1, 3, 7, 9, 1, 3};
        
        /// &amp;lt;summary&amp;gt;
        /// Sprawdza PESEL pod k&amp;#261;tem poprawno&amp;#347;ci
        /// &amp;lt;/summary&amp;gt;
        /// &amp;lt;param name=&amp;quot;pesel&amp;quot;&amp;gt;PESEL string&amp;lt;/param&amp;gt;
        /// &amp;lt;returns&amp;gt;true = OK; false = NOK&amp;lt;/returns&amp;gt;
        public static bool ValidatePesel(string pesel)
        {
            bool toRet = false;
            try
            {
                if(pesel.Length == 11)
                {
                    toRet = CountSum(pesel).Equals(pesel[10].ToString());
                }
                }
                catch(Exception)
                {
                    toRet = false;
            }
            return toRet;
        }
        
        /// &amp;lt;summary&amp;gt;
        /// Liczy sum&amp;#281; cyfr znacz&amp;#261;cych PESEL
        /// &amp;lt;/summary&amp;gt;
        /// &amp;lt;param name=&amp;quot;pesel&amp;quot;&amp;gt;PESEL string&amp;lt;/param&amp;gt;
        /// &amp;lt;returns&amp;gt;SUMA string&amp;lt;/returns&amp;gt;
        private static string CountSum(string pesel)
        {
            int sum = 0;            
            for(int i = 0; i &amp;lt; mnozniki.Length; i++)
            {
                sum+=mnozniki[i]*int.Parse(pesel[i].ToString());
            }
            
            int reszta = sum%10;
            return reszta == 0 ? reszta.ToString() : (10-reszta).ToString();
        }
    }
}

&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/4377380862604420718/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://programujemy.blogspot.com/2012/04/prosty-walidator-pesel-c.html#comment-form' title='Komentarze (4)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/4377380862604420718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/4377380862604420718'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/2012/04/prosty-walidator-pesel-c.html' title='Prosty walidator PESEL - C#'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7451666143908237285.post-5791231608772513844</id><published>2012-04-15T22:18:00.000+02:00</published><updated>2012-04-15T22:18:27.605+02:00</updated><title type='text'>ZedGraph - dodanie własnych etykiet wartości</title><content type='html'>Zastanawialiście się jak wyświetlić własne etykiety wartości na wykresach &lt;a href=&quot;http://zedgraph.sourceforge.net/samples.html&quot;&gt;ZedGraph&lt;/a&gt;*?&lt;br /&gt;
Otóż - najprostszym przykładem niech będzie dodanie eventu do OnLoad formatki.&lt;br /&gt;
Uprzednio musimy jednak w OnLoad formatki wymusić pokazywanie &quot;PointValues&quot;.&lt;br /&gt;
Za powyższe odpowiada property &quot;IsShowPointValues&quot;, która w przypadku wartości true pobiera dane do PointValue z Labeli osi wykresu.&lt;br /&gt;
&lt;br /&gt;
I tak - kod OnLoad&#39;a: &lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;private void Wykresy_Load(object sender, EventArgs e)

        {

            CreateGraph(zedGraphControl1);

            SetSize();

            //Wymuszamy PointValues

            zedGraphControl1.IsShowPointValues = true;

            //dopinamy nasz Event

            this.zedGraphControl1.PointValueEvent += this.zedGraphControl1_PointValueEvent;

        }

&lt;/code&gt;&lt;/pre&gt;
i kod samego Eventu: &lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;private string zedGraphControl1_PointValueEvent(ZedGraphControl sender, 

                                                               GraphPane pane, CurveItem curve, int iPt)

        {

            //Wolna droga - ustawmy co nam sie podoba ;)

            return curve.Label.Text + &quot; - &quot; + curve.Points[iPt].Y;

        }

&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Efekt finalny:&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Lrk-FETOferlZKyojguBIW4IfPeAoCsN8hpz2Z-HDnloGMK0ztwDrxBpYpYFgwhzdNTQVN_nFT-Cz4UMAfAUQFAgox84NJcEtvde8nGlgoe9kI3cT0C_M14PgslpetYY2CABLHRfCiRW/s1600/ZGraphPointLabel.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;205&quot; nda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Lrk-FETOferlZKyojguBIW4IfPeAoCsN8hpz2Z-HDnloGMK0ztwDrxBpYpYFgwhzdNTQVN_nFT-Cz4UMAfAUQFAgox84NJcEtvde8nGlgoe9kI3cT0C_M14PgslpetYY2CABLHRfCiRW/s400/ZGraphPointLabel.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Screen 1: własny label na wykresie ZedGraph&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
* przykład sprawdzony z &lt;a href=&quot;http://zedgraph.sourceforge.net/samples.html&quot;&gt;ZedGraph&lt;/a&gt; w wersji 5.1.5.28844</content><link rel='replies' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/5791231608772513844/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://programujemy.blogspot.com/2012/04/zedgraph-dodanie-wasnych-etykiet.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/5791231608772513844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/5791231608772513844'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/2012/04/zedgraph-dodanie-wasnych-etykiet.html' title='ZedGraph - dodanie własnych etykiet wartości'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Lrk-FETOferlZKyojguBIW4IfPeAoCsN8hpz2Z-HDnloGMK0ztwDrxBpYpYFgwhzdNTQVN_nFT-Cz4UMAfAUQFAgox84NJcEtvde8nGlgoe9kI3cT0C_M14PgslpetYY2CABLHRfCiRW/s72-c/ZGraphPointLabel.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7451666143908237285.post-481111940785406222</id><published>2012-04-15T21:13:00.000+02:00</published><updated>2012-04-15T21:16:10.573+02:00</updated><title type='text'>Xml Writer - prosta instrukcja użycia</title><content type='html'>Zastanawiasz się jak w prosty sposób zapisać XML na podstawie listy danych, którą dostałeś z innej metody?&lt;br /&gt;
Znów - z pomocą przychodzi XmlWriter z Foreachem (Używaj list typizowanych! Unikniesz problemów!)&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;            XmlWriter writer = XmlWriter.Create(@&amp;quot;C:\pliki.xml&amp;quot;, null);
            writer.WriteStartDocument();
            writer.WriteStartElement(&amp;quot;Files&amp;quot;);

            if (files.Count != 0)
                foreach (string s in files)
                {
                    writer.WriteStartElement(&amp;quot;File&amp;quot;);
                    writer.WriteString(s);
                    writer.WriteEndElement();
                }
            writer.WriteEndElement();
            writer.WriteEndDocument();
            writer.Flush();
            writer.Close();
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/481111940785406222/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://programujemy.blogspot.com/2012/04/xml-writer-prosta-instrukcja-uzycia.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/481111940785406222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/481111940785406222'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/2012/04/xml-writer-prosta-instrukcja-uzycia.html' title='Xml Writer - prosta instrukcja użycia'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7451666143908237285.post-2728846877324547697</id><published>2012-04-15T21:06:00.000+02:00</published><updated>2012-04-15T21:07:38.457+02:00</updated><title type='text'>Formatowanie XML w C#</title><content type='html'>Po co używać StringBuildera, skoro możemy prosto uzyskać pięknie sformatowany XML przy użyciu XmlWritera?&lt;br /&gt;
&lt;br /&gt;
A oto jak:

&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiULewO3uoZ2p-VTOECbbSNCZYDZhoXwr8-Ch3AohXBVmF5QWP2pxICPmVijT2YXKEVwVSXnFWJ4SqmT6vekd2s69drA6VvjN4vKt-sfDYRuTS1osy-L0FVu88lJgseg7azMEEDhTQnxROn/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; //Ustawienia XML Writera
  
 XmlWriterSettings set = new XmlWriterSettings();
  
 //&quot;Ładne&quot; formatowanie - true
  
 set.Indent = true;
  
 //i Nowy piękny XmlWriter - voila ;)
  
 XmlWriter writer = XmlWriter.Create(@&quot;here should be a path to our pretty xml&quot;, set);  
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://programujemy.blogspot.com/feeds/2728846877324547697/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://programujemy.blogspot.com/2012/04/formatowanie-xml-w-c.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/2728846877324547697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7451666143908237285/posts/default/2728846877324547697'/><link rel='alternate' type='text/html' href='http://programujemy.blogspot.com/2012/04/formatowanie-xml-w-c.html' title='Formatowanie XML w C#'/><author><name>Administrator</name><uri>http://www.blogger.com/profile/01443811957180167566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>