This version of the page http://lvivcommunity.net/?tag=/template (0.0.0.0) stored by archive.org.ua. It represents a snapshot of the page as of 2008-06-16. The original page over time could change.
Lviv .NET Community - All posts tagged 'template'
(Lviv community of .NET developers)
Home News
  • Archive
  • About
  • Conferences
  • |  
  • Sign in / Register

Recent posts

Auto Update Application Block

января 8, 2008 10:33 by alexk

I start my day from reading articles on CodeProject.com and found very interesting one: http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx

It's based on ClickOne technology and provide easy way to update own applications. Do you want to know how to implement something like ClickOnce Auto Update by own hands? I'm sure you want...

... >>>

Currently rated 4,2 by 6 people

  • Currently 4,166667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: clickonce, patterns, design, ideas, deployment, template
Categories: .NET | General | WinForms
Actions: Permalink | Comments (0) | RSS

Полезные ссылки - Part 4

октября 9, 2007 08:03 by alexk

A Pure .NET Single Application Instance/Instancing Solution
http://www.codeproject.com/useritems/SingleInstancingWithIpc.asp

Интересное решение, позволяющее контролировать сколько инстансов запущенно, а также показывает, как сделать комуникацию между инстансами программ - передача данных между процессами. Построенно на Named Pipes + Mutex.
... >>>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: links, patterns, template, generics, ideas, design, architecture, ado.net
Categories: .NET | General | WinForms | SQL | Links
Actions: Permalink | Comments (0) | RSS

Application Builder - Part 1

сентября 20, 2007 06:15 by alexk

N-Tiered application

General description

N-tiered application is concept that allow to build very flexible applications. General idea here that from application to application concepts that used in each tier creation are the same.

... >>>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: patterns, design, architecture, windows forms, ideas, template
Categories: .NET | QA | General | WinForms
Actions: Permalink | Comments (0) | RSS

Полезные ссылки - Part 3

сентября 18, 2007 07:40 by alexk

Organization Chart Generator By Rotem Sapir.
http://www.codeproject.com/useritems/Org_Chart_Generator.asp
Простой пример построения "организационных" диаграмм. Хорошое начало для написания чего-то более серьезного.

 

An Implementation of System Monitor By Zuoliu Ding.
http://www.codeproject.com/cs/miscctrl/SystemMonitor.asp
Многие знают "системный монитор", аля Task Manager... а вот реальзиция на шарпе. Впервые я увидел этот код как Google gadget, а теперь вот и сорсы.

... >>>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: .net, windows forms, design, architecture, ajax, asp.net, patterns, template, design time, generis
Categories: .NET | General | WinForms
Actions: Permalink | Comments (0) | RSS

Можливості використання класу DataTemplateSelector - Correct use DataTemplateSelector

сентября 4, 2007 04:30 by RredCat
В багатьох класах, що наслідуються від FrameworkElement є така корисна пропертя як *TemplateSelector типу DataTemplateSelector. В неї можна підставити свій клас, що наслідується від DataTemplateSelector і переписати метод SelectTemplate(). Це дозволить на ходу генерувати темпліти для контенту елемента. Дані в цей метод можна отримати елементарними біндігами. А тепер особливість: можна писати всі біндігни (навіть ті що посилаються на ElementName), крім TemplateBinding, тобто щоб RelativSourceMode не був рівний TemplatedParent.

In the many inherited from FrameworkElement contain a useful dependency property *TemplateSelector type of DataTemplateSelector. It can set our inherit from DataTemplateSelector class and override the method SelectTemplate(). This allow dynamic generate template for a content. Content-data we can get a elementary binding. And now feature: we can use all binding (even that what refet to ElementName), except TemplateBinding, therefore RelativSourceMode doesn't equal TemplatedParent.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: datatemplateselector, template, wpf, ua, en
Categories: .NET | WinFx
Actions: Permalink | Comments (0) | RSS

Кастомізація стилів в класах наслідуваних від класу Selector - Custom style for a class which is inherited from the class of Selector

августа 16, 2007 09:21 by RredCat

Нам потрібно виставити свої стилі і шаблони для для елементів, якими наповнюються контроли наслідувані від абстрактного класу Selector (до них належить стандартні ComboBox, ListBox, TabControl).
Це можна зробити двома шляхами.
1) В ресурси самого контрола внести стилі і шаблони айтемів. Це трохи незручно. З цих стилів і шаблонів нічого не можна буде "побачити" за межами ресурсів "батьківського" контрола.
2) Використати віднаслідувану від Selector`a пропертю ItemContainerStyle - внести в неї значення по ключу статичного ресурса.

PS: Зручність другого способу особливо помітна при написанні контролів, коли для кастомізації айтема потрібна інфа з-за меж "батьківського" ресурсу.


We need set own custom style or template for item of control which was inheritance from abstract class 'Selector' (for example: ComboBox, ListBox, TabControl)
We can use two way:
1) We can add in control's resource some style and template. But it isn't good way, because these styles and templates have access only in boundary of control.
2) We can use inheritance from Selector ItemContainerStyle dependency property and set in it new style value.

Currently rated 5,0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: custom style, style, template, wpf, ua, en
Categories:
Actions: Permalink | Comments (0) | RSS