This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Script needs to be executed in the same order | |
-- Update experiment status to Stop if targeting is not enabled | |
update experiment as exp | |
set status = "TargetingDisabled" | |
where exp.`targeting_enabled` = 0 ; | |
-- Update experiment status to Running where targetting is enabled. Note : Should always run before Analyzing Script | |
update experiment as exp | |
set status = "TargetingEnabled" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Style x:Key="dialgoResisze" TargetType="{x:Type ContentControl}"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="{x:Type ContentControl}"> | |
<Grid DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"> | |
<ContentPresenter Content="{TemplateBinding Content}"/> | |
<Control x:Name="Top"> | |
<Control.Style> | |
<Style TargetType="{x:Type Control}"> | |
<Setter Property="Template"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Input; | |
using System.Windows.Markup; | |
[assembly: XmlnsDefinition("http://codingsack.com/wpf/InfiniteScrollViewer", "InfiniteScrollViewerControl")] | |
[assembly: XmlnsPrefix("http://codingsack.com/wpf/InfiniteScrollViewer", "cs")] | |
namespace InfiniteScrollViewerControl | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Linq; | |
namespace WpfChoosenControlDemo | |
{ | |
public class MainViewModel : ViewModelBase | |
{ | |
private ObservableCollection<Student> _items; | |
private List<Student> _selectedItems; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PDFConverter | |
{ | |
/// <summary> | |
/// it will Convert HTML Code into PDF | |
/// </summary> | |
/// <param name="htmlCode">HTML Code</param> | |
/// <param name="wkhtmlToPdfExePath">wkhtmlToPdf Exe file Path</param> | |
/// <returns></returns> | |
public byte[] Convert(string htmlCode, string wkhtmlToPdfExePath) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Drawing2D; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Routing; |