- printing support for channel/fav lists

- fixed: modified Panasonic channel names are now saved
- fixed: ClassCastException when saving Panasonic and Toshiba channel lists containing proxy-channels from a reference list
This commit is contained in:
hbeham
2013-11-23 15:09:20 +01:00
parent c8e5b98b47
commit 5de0ab8795
26 changed files with 1331 additions and 88 deletions

View File

@@ -237,7 +237,8 @@ namespace ChanSort.Loader.Panasonic
#region UpdateRawData()
public override void UpdateRawData()
{
if (this.IsNameModified)
this.RawName = Encoding.UTF8.GetBytes(this.Name);
}
#endregion

View File

@@ -594,8 +594,11 @@ order by s.ntype,major_channel
cmd.Parameters.Add(new SQLiteParameter("@lock", DbType.Int32));
cmd.Parameters.Add(new SQLiteParameter("@skip", DbType.Int32));
cmd.Prepare();
foreach (DbChannel channel in channelList.Channels)
foreach (ChannelInfo channelInfo in channelList.Channels)
{
var channel = channelInfo as DbChannel;
if (channel == null) // skip reference list proxy channels
continue;
if (channel.NewProgramNr < 0 || channel.OldProgramNr < 0)
continue;
channel.UpdateRawData();

View File

@@ -321,8 +321,11 @@ namespace ChanSort.Loader.Toshiba
cmd.Parameters.Add(new SQLiteParameter("@nr", DbType.Int32));
cmd.Parameters.Add(new SQLiteParameter("@Bits", DbType.Int32));
cmd.Prepare();
foreach (DbChannel channel in channelList.Channels)
foreach (ChannelInfo channelInfo in channelList.Channels)
{
var channel = channelInfo as DbChannel;
if (channel == null) // ignore reference list proxy channels
continue;
channel.UpdateRawData();
cmd.Parameters["@id"].Value = channel.RecordIndex;
cmd.Parameters["@nr"].Value = channel.NewProgramNr;

View File

@@ -58,18 +58,25 @@
<ApplicationIcon>app.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Charts.v13.1.Core, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Data.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Office.v13.1.Core, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.PivotGrid.v13.1.Core, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.RichEdit.v13.1.Core, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Sparkline.v13.1.Core, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Utils.v13.1.UI, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraBars.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.XtraCharts.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
@@ -79,6 +86,8 @@
<Reference Include="DevExpress.XtraGrid.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.XtraReports.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraReports.v13.1.Extensions, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
@@ -95,6 +104,12 @@
<DependentUpon>ActionBox.cs</DependentUpon>
</Compile>
<Compile Include="BrowserHelper.cs" />
<Compile Include="Printing\ChannelListReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Printing\ChannelListReport.Designer.cs">
<DependentUpon>ChannelListReport.cs</DependentUpon>
</Compile>
<Compile Include="GlobalImageCollection.cs">
<SubType>Component</SubType>
</Compile>
@@ -110,6 +125,12 @@
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Printing\ReportOptionsDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Printing\ReportOptionsDialog.Designer.cs">
<DependentUpon>ReportOptionsDialog.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.pt.Designer.cs">
@@ -188,6 +209,16 @@
<DependentUpon>MainForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Printing\ChannelListReport.resx">
<DependentUpon>ChannelListReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Printing\ReportOptionsDialog.de.resx">
<DependentUpon>ReportOptionsDialog.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Printing\ReportOptionsDialog.resx">
<DependentUpon>ReportOptionsDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.pt.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.pt.Designer.cs</LastGenOutput>
@@ -221,6 +252,7 @@
</EmbeddedResource>
<None Include="app.config" />
<None Include="Properties\DataSources\ChannelInfo.datasource" />
<None Include="Properties\DataSources\ChanSort.Api.ChannelList.datasource" />
<None Include="Properties\DataSources\System.Text.EncodingInfo.datasource" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>

View File

@@ -87,6 +87,7 @@ namespace ChanSort.Ui
this.sharedImageCollection1.ImageSource.Images.SetKeyName(31, "0031.png");
this.sharedImageCollection1.ImageSource.Images.SetKeyName(32, "0032.png");
this.sharedImageCollection1.ImageSource.Images.SetKeyName(33, "0033.png");
this.sharedImageCollection1.ImageSource.Images.SetKeyName(34, "0034.png");
this.sharedImageCollection1.ParentControl = null;
((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1.ImageSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1)).EndInit();

View File

@@ -112,24 +112,24 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="sharedImageCollection1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="sharedImageCollection1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="DevExpress.Utils.v13.1" name="DevExpress.Utils.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="sharedImageCollection1.ImageSource.ImageStream" type="DevExpress.Utils.ImageCollectionStreamer, DevExpress.Utils.v13.1" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFpEZXZFeHByZXNzLlV0aWxzLnYxMi4yLCBWZXJzaW9uPTEyLjIu
OC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEMAwAAAFFT
AAEAAAD/////AQAAAAAAAAAMAgAAAFpEZXZFeHByZXNzLlV0aWxzLnYxMy4xLCBWZXJzaW9uPTEzLjEu
Ni4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEMAwAAAFFT
eXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRv
a2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAAChEZXZFeHByZXNzLlV0aWxzLkltYWdlQ29sbGVjdGlvblN0
cmVhbWVyAgAAAAlJbWFnZVNpemUERGF0YQQHE1N5c3RlbS5EcmF3aW5nLlNpemUDAAAAAgIAAAAF/P//
/xNTeXN0ZW0uRHJhd2luZy5TaXplAgAAAAV3aWR0aAZoZWlnaHQAAAgIAwAAABAAAAAQAAAACQUAAAAP
BQAAAG5kAAACDgMAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAARnQU1BAACxjwv8
BQAAAHRmAAACDgMAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAACukAAArpAf11ztMAAAAqdEVYdENyZWF0aW9uIFRpbWUATWkgMSBNcnogMjAwNiAx
NToxMDo1MSArMDEwMP/NqUUAAAAHdElNRQf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
djETgHkAAAAASUVORK5CYIIL
</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="SharedImageCollection.Timestamp" type="System.DateTime, mscorlib">
<value>06/29/2013 12:09:44</value>
<value>11/23/2013 12:38:03</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="SharedImageCollection.ImageSize" type="System.Drawing.Size, System.Drawing">
<value>16, 16</value>
</data>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@@ -43,6 +43,8 @@
this.repositoryItemCheckedComboBoxEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit();
this.colUid1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colOutLock = new DevExpress.XtraGrid.Columns.GridColumn();
this.colOutSkip = new DevExpress.XtraGrid.Columns.GridColumn();
this.colOutHide = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
this.lblHotkeyLeft = new DevExpress.XtraEditors.LabelControl();
this.pnlEditControls = new DevExpress.XtraEditors.PanelControl();
@@ -109,6 +111,7 @@
this.miAddFromRefList = new DevExpress.XtraBars.BarButtonItem();
this.miSaveReferenceFile = new DevExpress.XtraBars.BarButtonItem();
this.miExcelExport = new DevExpress.XtraBars.BarButtonItem();
this.miPrint = new DevExpress.XtraBars.BarButtonItem();
this.miQuit = new DevExpress.XtraBars.BarButtonItem();
this.miRecentFiles = new DevExpress.XtraBars.BarListItem();
this.miEdit = new DevExpress.XtraBars.BarSubItem();
@@ -167,8 +170,6 @@
this.grpSubList = new DevExpress.XtraEditors.GroupControl();
this.tabSubList = new DevExpress.XtraTab.XtraTabControl();
this.pageProgNr = new DevExpress.XtraTab.XtraTabPage();
this.colOutSkip = new DevExpress.XtraGrid.Columns.GridColumn();
this.colOutHide = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
this.splitContainerControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grpOutputList)).BeginInit();
@@ -363,6 +364,18 @@
this.colOutLock.FieldName = "Lock";
this.colOutLock.Name = "colOutLock";
//
// colOutSkip
//
resources.ApplyResources(this.colOutSkip, "colOutSkip");
this.colOutSkip.FieldName = "Skip";
this.colOutSkip.Name = "colOutSkip";
//
// colOutHide
//
resources.ApplyResources(this.colOutHide, "colOutHide");
this.colOutHide.FieldName = "Hidden";
this.colOutHide.Name = "colOutHide";
//
// repositoryItemTextEdit1
//
resources.ApplyResources(this.repositoryItemTextEdit1, "repositoryItemTextEdit1");
@@ -894,9 +907,10 @@
this.miRecentFiles,
this.miExcelExport,
this.miPortuguese,
this.miAddFromRefList});
this.miAddFromRefList,
this.miPrint});
this.barManager1.MainMenu = this.bar1;
this.barManager1.MaxItemId = 62;
this.barManager1.MaxItemId = 63;
this.barManager1.ShowFullMenus = true;
//
// bar1
@@ -914,6 +928,7 @@
new DevExpress.XtraBars.LinkPersistInfo(this.miSave, true),
new DevExpress.XtraBars.LinkPersistInfo(this.miSaveAs),
new DevExpress.XtraBars.LinkPersistInfo(this.miSaveReferenceFile),
new DevExpress.XtraBars.LinkPersistInfo(this.miPrint, true),
new DevExpress.XtraBars.LinkPersistInfo(this.miEdit, true),
new DevExpress.XtraBars.LinkPersistInfo(this.mnuFavSet),
new DevExpress.XtraBars.LinkPersistInfo(this.miLockOn),
@@ -949,6 +964,7 @@
new DevExpress.XtraBars.LinkPersistInfo(this.miAddFromRefList),
new DevExpress.XtraBars.LinkPersistInfo(this.miSaveReferenceFile),
new DevExpress.XtraBars.LinkPersistInfo(this.miExcelExport),
new DevExpress.XtraBars.LinkPersistInfo(this.miPrint),
new DevExpress.XtraBars.LinkPersistInfo(this.miQuit, true),
new DevExpress.XtraBars.LinkPersistInfo(this.miRecentFiles, true)});
this.miFile.Name = "miFile";
@@ -1054,6 +1070,15 @@
this.miExcelExport.Name = "miExcelExport";
this.miExcelExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miExcelExport_ItemClick);
//
// miPrint
//
resources.ApplyResources(this.miPrint, "miPrint");
this.miPrint.Id = 62;
this.miPrint.ImageIndex = 34;
this.miPrint.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P));
this.miPrint.Name = "miPrint";
this.miPrint.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miPrint_ItemClick);
//
// miQuit
//
resources.ApplyResources(this.miQuit, "miQuit");
@@ -1593,18 +1618,6 @@
this.pageProgNr.Name = "pageProgNr";
resources.ApplyResources(this.pageProgNr, "pageProgNr");
//
// colOutSkip
//
resources.ApplyResources(this.colOutSkip, "colOutSkip");
this.colOutSkip.FieldName = "Skip";
this.colOutSkip.Name = "colOutSkip";
//
// colOutHide
//
resources.ApplyResources(this.colOutHide, "colOutHide");
this.colOutHide.FieldName = "Hidden";
this.colOutHide.Name = "colOutHide";
//
// MainForm
//
resources.ApplyResources(this, "$this");
@@ -1800,6 +1813,7 @@
private DevExpress.XtraBars.BarButtonItem miAddFromRefList;
private DevExpress.XtraGrid.Columns.GridColumn colOutSkip;
private DevExpress.XtraGrid.Columns.GridColumn colOutHide;
private DevExpress.XtraBars.BarButtonItem miPrint;
private DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1;
}
}

View File

@@ -25,7 +25,7 @@ namespace ChanSort.Ui
{
public partial class MainForm : XtraForm
{
public const string AppVersion = "v2013-11-20.2";
public const string AppVersion = "v2013-11-23";
private const int MaxMruEntries = 10;
@@ -1282,6 +1282,7 @@ namespace ChanSort.Ui
this.miOpenReferenceFile.Enabled = fileLoaded;
this.miSaveReferenceFile.Enabled = fileLoaded;
this.miExcelExport.Enabled = fileLoaded;
this.miPrint.Enabled = fileLoaded;
this.miAddChannel.Enabled = isRight;
@@ -1498,6 +1499,14 @@ namespace ChanSort.Ui
}
#endregion
#region Print()
private void Print()
{
using (var dlg = new Printing.ReportOptionsDialog(this.currentChannelList, this.subListIndex))
dlg.ShowDialog(this);
}
#endregion
// UI events
#region MainForm_Load
@@ -1562,6 +1571,11 @@ namespace ChanSort.Ui
TryExecute(this.ExportExcelList);
}
private void miPrint_ItemClick(object sender, ItemClickEventArgs e)
{
this.TryExecute(this.Print);
}
private void miQuit_ItemClick(object sender, ItemClickEventArgs e)
{
this.Close();
@@ -1749,12 +1763,14 @@ namespace ChanSort.Ui
}
#endregion
#region gview_CustomUnboundColumnData
private void gview_CustomUnboundColumnData(object sender, CustomColumnDataEventArgs e)
{
var channel = (ChannelInfo) e.Row;
if (e.Column.FieldName == "Position")
e.Value = channel.GetPosition(this.subListIndex);
}
#endregion
#region gview_MouseDown, gview_MouseUp, timerEditDelay_Tick, gview_ShowingEditor
@@ -2385,5 +2401,6 @@ namespace ChanSort.Ui
#endregion
}
}

View File

@@ -438,4 +438,7 @@
<data name="colOutHide.Caption" xml:space="preserve">
<value>Ver- steckt</value>
</data>
<data name="miPrint.Caption" xml:space="preserve">
<value>&amp;Drucken...</value>
</data>
</root>

View File

@@ -123,7 +123,7 @@
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="splitContainerControl1.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 108</value>
<value>0, 110</value>
</data>
<metadata name="dsChannels.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>361, 17</value>
@@ -258,7 +258,7 @@
<value>Numeric</value>
</data>
<data name="gridLeft.Size" type="System.Drawing.Size, System.Drawing">
<value>449, 418</value>
<value>449, 416</value>
</data>
<data name="gridLeft.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
@@ -279,7 +279,7 @@
<value>Bottom</value>
</data>
<data name="lblHotkeyLeft.Location" type="System.Drawing.Point, System.Drawing">
<value>2, 472</value>
<value>2, 470</value>
</data>
<data name="lblHotkeyLeft.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>2, 2, 2, 2</value>
@@ -324,7 +324,7 @@
<value>0, 5</value>
</data>
<data name="pageProgNr.Size" type="System.Drawing.Size, System.Drawing">
<value>1463, 0</value>
<value>1464, 0</value>
</data>
<data name="pageProgNr.Text" xml:space="preserve">
<value>Pr#</value>
@@ -363,7 +363,7 @@
<value>Top</value>
</data>
<data name="grpSubList.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 81</value>
<value>0, 83</value>
</data>
<data name="grpSubList.Size" type="System.Drawing.Size, System.Drawing">
<value>1474, 27</value>
@@ -428,6 +428,9 @@
<data name="miExcelExport.Caption" xml:space="preserve">
<value>Export Excel list...</value>
</data>
<data name="miPrint.Caption" xml:space="preserve">
<value>&amp;Print...</value>
</data>
<data name="miQuit.Caption" xml:space="preserve">
<value>&amp;Quit</value>
</data>
@@ -584,7 +587,7 @@
<value>0, 0</value>
</data>
<data name="barDockControlTop.Size" type="System.Drawing.Size, System.Drawing">
<value>1474, 24</value>
<value>1474, 26</value>
</data>
<data name="&gt;&gt;barDockControlTop.Name" xml:space="preserve">
<value>barDockControlTop</value>
@@ -623,10 +626,10 @@
<value>Left</value>
</data>
<data name="barDockControlLeft.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 24</value>
<value>0, 26</value>
</data>
<data name="barDockControlLeft.Size" type="System.Drawing.Size, System.Drawing">
<value>0, 575</value>
<value>0, 573</value>
</data>
<data name="&gt;&gt;barDockControlLeft.Name" xml:space="preserve">
<value>barDockControlLeft</value>
@@ -644,10 +647,10 @@
<value>Right</value>
</data>
<data name="barDockControlRight.Location" type="System.Drawing.Point, System.Drawing">
<value>1474, 24</value>
<value>1474, 26</value>
</data>
<data name="barDockControlRight.Size" type="System.Drawing.Size, System.Drawing">
<value>0, 575</value>
<value>0, 573</value>
</data>
<data name="&gt;&gt;barDockControlRight.Name" xml:space="preserve">
<value>barDockControlRight</value>
@@ -675,7 +678,7 @@
<value>Default</value>
</data>
<data name="rbInsertSwap.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 19</value>
<value>46, 19</value>
</data>
<data name="rbInsertSwap.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -702,7 +705,7 @@
<value>after</value>
</data>
<data name="rbInsertAfter.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 19</value>
<value>45, 19</value>
</data>
<data name="rbInsertAfter.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
@@ -726,7 +729,7 @@
<value>before</value>
</data>
<data name="rbInsertBefore.Size" type="System.Drawing.Size, System.Drawing">
<value>54, 19</value>
<value>53, 19</value>
</data>
<data name="rbInsertBefore.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
@@ -831,7 +834,7 @@
<value>0, 33</value>
</data>
<data name="pageEmpty.Size" type="System.Drawing.Size, System.Drawing">
<value>1284, 0</value>
<value>1285, 0</value>
</data>
<data name="pageEmpty.Text" xml:space="preserve">
<value>No channel lists</value>
@@ -930,7 +933,7 @@
<value>Top</value>
</data>
<data name="grpTopPanel.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 24</value>
<value>0, 26</value>
</data>
<data name="grpTopPanel.Size" type="System.Drawing.Size, System.Drawing">
<value>1474, 57</value>
@@ -1019,6 +1022,18 @@
<data name="&gt;&gt;colOutLock.Type" xml:space="preserve">
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;colOutSkip.Name" xml:space="preserve">
<value>colOutSkip</value>
</data>
<data name="&gt;&gt;colOutSkip.Type" xml:space="preserve">
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;colOutHide.Name" xml:space="preserve">
<value>colOutHide</value>
</data>
<data name="&gt;&gt;colOutHide.Type" xml:space="preserve">
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;repositoryItemTextEdit1.Name" xml:space="preserve">
<value>repositoryItemTextEdit1</value>
</data>
@@ -1289,6 +1304,12 @@
<data name="&gt;&gt;miExcelExport.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miPrint.Name" xml:space="preserve">
<value>miPrint</value>
</data>
<data name="&gt;&gt;miPrint.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miQuit.Name" xml:space="preserve">
<value>miQuit</value>
</data>
@@ -1529,18 +1550,6 @@
<data name="&gt;&gt;timerEditDelay.Type" xml:space="preserve">
<value>System.Windows.Forms.Timer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;colOutSkip.Name" xml:space="preserve">
<value>colOutSkip</value>
</data>
<data name="&gt;&gt;colOutSkip.Type" xml:space="preserve">
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;colOutHide.Name" xml:space="preserve">
<value>colOutHide</value>
</data>
<data name="&gt;&gt;colOutHide.Type" xml:space="preserve">
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>MainForm</value>
</data>
@@ -1548,7 +1557,7 @@
<value>DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="SharedImageCollection.Timestamp" type="System.DateTime, mscorlib">
<value>10/07/2013 15:04:39</value>
<value>11/23/2013 14:39:54</value>
</data>
<data name="SharedImageCollection.ImageSize" type="System.Drawing.Size, System.Drawing">
<value>16, 16</value>
@@ -1866,7 +1875,7 @@
<value>0, 0</value>
</data>
<data name="grpOutputList.Size" type="System.Drawing.Size, System.Drawing">
<value>453, 491</value>
<value>453, 489</value>
</data>
<data name="grpOutputList.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@@ -2202,7 +2211,7 @@
<value>Signal source</value>
</data>
<data name="gridRight.Size" type="System.Drawing.Size, System.Drawing">
<value>1012, 418</value>
<value>1013, 416</value>
</data>
<data name="gridRight.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
@@ -2223,7 +2232,7 @@
<value>Bottom</value>
</data>
<data name="lblHotkeyRight.Location" type="System.Drawing.Point, System.Drawing">
<value>2, 472</value>
<value>2, 470</value>
</data>
<data name="lblHotkeyRight.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>2, 2, 2, 2</value>
@@ -2367,7 +2376,7 @@
<value>2, 21</value>
</data>
<data name="panelControl3.Size" type="System.Drawing.Size, System.Drawing">
<value>1012, 33</value>
<value>1013, 33</value>
</data>
<data name="panelControl3.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@@ -2391,7 +2400,7 @@
<value>0, 0</value>
</data>
<data name="grpInputList.Size" type="System.Drawing.Size, System.Drawing">
<value>1016, 491</value>
<value>1017, 489</value>
</data>
<data name="grpInputList.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@@ -2415,7 +2424,7 @@
<value>Panel2</value>
</data>
<data name="splitContainerControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>1474, 491</value>
<value>1474, 489</value>
</data>
<data name="splitContainerControl1.TabIndex" type="System.Int32, mscorlib">
<value>5</value>

View File

@@ -0,0 +1,165 @@
namespace ChanSort.Ui
{
partial class ChannelListReport
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.bandListDetail = new DevExpress.XtraReports.UI.DetailBand();
this.txtHeading = new DevExpress.XtraReports.UI.XRLabel();
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
this.repChannels = new DevExpress.XtraReports.UI.DetailReportBand();
this.bandChannelDetail = new DevExpress.XtraReports.UI.DetailBand();
this.txtNumber = new DevExpress.XtraReports.UI.XRLabel();
this.txtChannelName = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// bandListDetail
//
this.bandListDetail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.txtHeading});
this.bandListDetail.Dpi = 254F;
this.bandListDetail.HeightF = 40F;
this.bandListDetail.Name = "bandListDetail";
this.bandListDetail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 254F);
this.bandListDetail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// txtHeading
//
this.txtHeading.Dpi = 254F;
this.txtHeading.Font = new System.Drawing.Font("Times New Roman", 10F);
this.txtHeading.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.txtHeading.Name = "txtHeading";
this.txtHeading.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
this.txtHeading.SizeF = new System.Drawing.SizeF(1801F, 40F);
this.txtHeading.StylePriority.UseFont = false;
this.txtHeading.Text = "Heading";
//
// TopMargin
//
this.TopMargin.Dpi = 254F;
this.TopMargin.HeightF = 83.1875F;
this.TopMargin.Name = "TopMargin";
this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 254F);
this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// BottomMargin
//
this.BottomMargin.Dpi = 254F;
this.BottomMargin.Font = new System.Drawing.Font("Arial", 9.75F);
this.BottomMargin.HeightF = 119.0625F;
this.BottomMargin.Name = "BottomMargin";
this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 254F);
this.BottomMargin.StylePriority.UseFont = false;
this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// repChannels
//
this.repChannels.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.bandChannelDetail});
this.repChannels.DataMember = "Channels";
this.repChannels.DataSource = this.bindingSource1;
this.repChannels.Dpi = 254F;
this.repChannels.Level = 0;
this.repChannels.Name = "repChannels";
//
// bandChannelDetail
//
this.bandChannelDetail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.txtNumber,
this.txtChannelName});
this.bandChannelDetail.Dpi = 254F;
this.bandChannelDetail.HeightF = 35F;
this.bandChannelDetail.MultiColumn.ColumnCount = 3;
this.bandChannelDetail.MultiColumn.ColumnSpacing = 50F;
this.bandChannelDetail.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnCount;
this.bandChannelDetail.Name = "bandChannelDetail";
this.bandChannelDetail.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.bandChannelDetail_BeforePrint);
//
// txtNumber
//
this.txtNumber.Dpi = 254F;
this.txtNumber.Font = new System.Drawing.Font("Times New Roman", 8F);
this.txtNumber.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.txtNumber.Name = "txtNumber";
this.txtNumber.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
this.txtNumber.SizeF = new System.Drawing.SizeF(111.125F, 35F);
this.txtNumber.StylePriority.UseFont = false;
this.txtNumber.Text = "0000";
//
// txtChannelName
//
this.txtChannelName.Dpi = 254F;
this.txtChannelName.Font = new System.Drawing.Font("Times New Roman", 8F);
this.txtChannelName.LocationFloat = new DevExpress.Utils.PointFloat(111.125F, 0F);
this.txtChannelName.Name = "txtChannelName";
this.txtChannelName.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
this.txtChannelName.SizeF = new System.Drawing.SizeF(468.3125F, 35F);
this.txtChannelName.StylePriority.UseFont = false;
this.txtChannelName.Text = "Empty channel list";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(ChanSort.Api.ChannelList);
//
// ChannelListReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.bandListDetail,
this.TopMargin,
this.BottomMargin,
this.repChannels});
this.DataSource = this.bindingSource1;
this.Dpi = 254F;
this.Margins = new System.Drawing.Printing.Margins(148, 111, 83, 119);
this.PageHeight = 2970;
this.PageWidth = 2100;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter;
this.SnapGridSize = 25F;
this.Version = "13.1";
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand bandListDetail;
private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
private DevExpress.XtraReports.UI.XRLabel txtHeading;
private DevExpress.XtraReports.UI.DetailReportBand repChannels;
private DevExpress.XtraReports.UI.DetailBand bandChannelDetail;
private DevExpress.XtraReports.UI.XRLabel txtNumber;
private DevExpress.XtraReports.UI.XRLabel txtChannelName;
private System.Windows.Forms.BindingSource bindingSource1;
}
}

View File

@@ -0,0 +1,62 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using ChanSort.Api;
using DevExpress.XtraReports.UI;
namespace ChanSort.Ui
{
public partial class ChannelListReport : XtraReport
{
private readonly int subListIndex;
private readonly bool orderByName;
public ChannelListReport(ChannelList list, int subListIndex, bool orderByName, Font font)
{
this.subListIndex = subListIndex;
this.orderByName = orderByName;
InitializeComponent();
this.DataSource = GenerateDataSource(list);
this.txtHeading.Text = list.ShortCaption + (subListIndex <= 0 ? "" : " - Fav " + (char)('A' + subListIndex));
this.txtHeading.Font = new Font(font.Name, font.Size+4, FontStyle.Bold);
this.txtNumber.Font = font;
this.txtChannelName.Font = font;
}
private List<ChannelList> GenerateDataSource(ChannelList list)
{
ChannelList sortedList = new ChannelList(list.SignalSource, list.Caption);
foreach (var channel in list.Channels.OrderBy(this.SortCriteria))
{
int pos = channel.GetPosition(this.subListIndex);
if (orderByName && (channel.Name == "" || channel.Name == "."))
continue;
if (pos >= 0)
sortedList.Channels.Add(channel);
}
List<ChannelList> lists = new List<ChannelList>();
lists.Add(sortedList);
return lists;
}
private IComparable SortCriteria(ChannelInfo a)
{
return this.orderByName ? (IComparable) a.Name : a.GetPosition(this.subListIndex);
}
private void bandChannelDetail_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
var channel = (ChannelInfo) this.repChannels.GetCurrentRow();
if (channel == null) // happens if there are no data records
return;
this.txtNumber.Text = channel.GetPosition(this.subListIndex).ToString();
this.txtChannelName.Text = channel.Name;
}
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,137 @@
namespace ChanSort.Ui.Printing
{
partial class ReportOptionsDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReportOptionsDialog));
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.rbSortByNumber = new DevExpress.XtraEditors.CheckEdit();
this.rbSortByName = new DevExpress.XtraEditors.CheckEdit();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.fontEdit1 = new DevExpress.XtraEditors.FontEdit();
this.btnPreview = new DevExpress.XtraEditors.SimpleButton();
this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
this.spinFontSize = new DevExpress.XtraEditors.SpinEdit();
((System.ComponentModel.ISupportInitialize)(this.rbSortByNumber.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rbSortByName.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fontEdit1.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.spinFontSize.Properties)).BeginInit();
this.SuspendLayout();
//
// labelControl1
//
resources.ApplyResources(this.labelControl1, "labelControl1");
this.labelControl1.Name = "labelControl1";
//
// rbSortByNumber
//
resources.ApplyResources(this.rbSortByNumber, "rbSortByNumber");
this.rbSortByNumber.Name = "rbSortByNumber";
this.rbSortByNumber.Properties.Caption = resources.GetString("rbSortByNumber.Properties.Caption");
this.rbSortByNumber.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio;
this.rbSortByNumber.Properties.RadioGroupIndex = 1;
//
// rbSortByName
//
resources.ApplyResources(this.rbSortByName, "rbSortByName");
this.rbSortByName.Name = "rbSortByName";
this.rbSortByName.Properties.Caption = resources.GetString("rbSortByName.Properties.Caption");
this.rbSortByName.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio;
this.rbSortByName.Properties.RadioGroupIndex = 1;
this.rbSortByName.TabStop = false;
//
// labelControl2
//
resources.ApplyResources(this.labelControl2, "labelControl2");
this.labelControl2.Name = "labelControl2";
//
// fontEdit1
//
resources.ApplyResources(this.fontEdit1, "fontEdit1");
this.fontEdit1.Name = "fontEdit1";
this.fontEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(((DevExpress.XtraEditors.Controls.ButtonPredefines)(resources.GetObject("fontEdit1.Properties.Buttons"))))});
//
// btnPreview
//
resources.ApplyResources(this.btnPreview, "btnPreview");
this.btnPreview.Name = "btnPreview";
this.btnPreview.Click += new System.EventHandler(this.btnPreview_Click);
//
// btnCancel
//
resources.ApplyResources(this.btnCancel, "btnCancel");
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Name = "btnCancel";
//
// spinFontSize
//
resources.ApplyResources(this.spinFontSize, "spinFontSize");
this.spinFontSize.Name = "spinFontSize";
this.spinFontSize.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(((DevExpress.XtraEditors.Controls.ButtonPredefines)(resources.GetObject("spinFontSize.Properties.Buttons"))))});
this.spinFontSize.Properties.DisplayFormat.FormatString = "0.#";
this.spinFontSize.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
this.spinFontSize.Properties.Mask.ShowPlaceHolders = ((bool)(resources.GetObject("spinFontSize.Properties.Mask.ShowPlaceHolders")));
//
// ReportOptionsDialog
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.spinFontSize);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnPreview);
this.Controls.Add(this.fontEdit1);
this.Controls.Add(this.labelControl2);
this.Controls.Add(this.rbSortByName);
this.Controls.Add(this.rbSortByNumber);
this.Controls.Add(this.labelControl1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ReportOptionsDialog";
((System.ComponentModel.ISupportInitialize)(this.rbSortByNumber.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rbSortByName.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fontEdit1.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.spinFontSize.Properties)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraEditors.CheckEdit rbSortByNumber;
private DevExpress.XtraEditors.CheckEdit rbSortByName;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.FontEdit fontEdit1;
private DevExpress.XtraEditors.SimpleButton btnPreview;
private DevExpress.XtraEditors.SimpleButton btnCancel;
private DevExpress.XtraEditors.SpinEdit spinFontSize;
}
}

View File

@@ -0,0 +1,42 @@
using System;
using System.Drawing;
using ChanSort.Api;
using DevExpress.LookAndFeel;
using DevExpress.XtraEditors;
using DevExpress.XtraReports.UI;
namespace ChanSort.Ui.Printing
{
public partial class ReportOptionsDialog : XtraForm
{
private readonly ChannelList channelList;
private readonly int subListIndex;
public ReportOptionsDialog(ChannelList channelList, int subListIndex)
{
InitializeComponent();
this.channelList = channelList;
this.subListIndex = subListIndex;
if (Properties.Settings.Default.PrintSortByName)
this.rbSortByName.Checked = true;
this.fontEdit1.EditValue = Properties.Settings.Default.PrintFontName;
this.spinFontSize.Value = Properties.Settings.Default.PrintFontSize;
}
private void btnPreview_Click(object sender, EventArgs e)
{
Properties.Settings.Default.PrintFontName = (string)this.fontEdit1.EditValue;
Properties.Settings.Default.PrintFontSize = this.spinFontSize.Value;
Properties.Settings.Default.PrintSortByName = this.rbSortByNumber.Checked;
Properties.Settings.Default.Save();
using (var font = new Font(this.fontEdit1.Text, (float)this.spinFontSize.Value))
using (var report = new ChannelListReport(this.channelList, this.subListIndex, this.rbSortByName.Checked, font))
using (ReportPrintTool printTool = new ReportPrintTool(report))
{
printTool.ShowPreviewDialog();
printTool.ShowPreview(UserLookAndFeel.Default);
}
}
}
}

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labelControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>74, 13</value>
</data>
<data name="labelControl1.Text" xml:space="preserve">
<value>Sortieren nach:</value>
</data>
<data name="rbSortByNumber.Properties.Caption" xml:space="preserve">
<value>Nummer</value>
</data>
<data name="labelControl2.Text" xml:space="preserve">
<value>Schriftart:</value>
</data>
<data name="btnPreview.Text" xml:space="preserve">
<value>Vorschau...</value>
</data>
<data name="btnCancel.Text" xml:space="preserve">
<value>Abbrechen</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Druckoptionen</value>
</data>
</root>

View File

@@ -0,0 +1,361 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labelControl1.Location" type="System.Drawing.Point, System.Drawing">
<value>22, 24</value>
</data>
<data name="labelControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 13</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="labelControl1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="labelControl1.Text" xml:space="preserve">
<value>Sort by:</value>
</data>
<data name="&gt;&gt;labelControl1.Name" xml:space="preserve">
<value>labelControl1</value>
</data>
<data name="&gt;&gt;labelControl1.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl1.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="rbSortByNumber.EditValue" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="rbSortByNumber.Location" type="System.Drawing.Point, System.Drawing">
<value>104, 21</value>
</data>
<data name="rbSortByNumber.Properties.Caption" xml:space="preserve">
<value>Number</value>
</data>
<data name="rbSortByNumber.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 19</value>
</data>
<data name="rbSortByNumber.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;rbSortByNumber.Name" xml:space="preserve">
<value>rbSortByNumber</value>
</data>
<data name="&gt;&gt;rbSortByNumber.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;rbSortByNumber.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;rbSortByNumber.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="rbSortByName.Location" type="System.Drawing.Point, System.Drawing">
<value>185, 21</value>
</data>
<data name="rbSortByName.Properties.Caption" xml:space="preserve">
<value>Name</value>
</data>
<data name="rbSortByName.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 19</value>
</data>
<data name="rbSortByName.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="&gt;&gt;rbSortByName.Name" xml:space="preserve">
<value>rbSortByName</value>
</data>
<data name="&gt;&gt;rbSortByName.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;rbSortByName.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;rbSortByName.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="labelControl2.Location" type="System.Drawing.Point, System.Drawing">
<value>22, 55</value>
</data>
<data name="labelControl2.Size" type="System.Drawing.Size, System.Drawing">
<value>26, 13</value>
</data>
<data name="labelControl2.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="labelControl2.Text" xml:space="preserve">
<value>Font:</value>
</data>
<data name="&gt;&gt;labelControl2.Name" xml:space="preserve">
<value>labelControl2</value>
</data>
<data name="&gt;&gt;labelControl2.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl2.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl2.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="fontEdit1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="fontEdit1.EditValue" xml:space="preserve">
<value>Tahoma</value>
</data>
<data name="fontEdit1.Location" type="System.Drawing.Point, System.Drawing">
<value>106, 52</value>
</data>
<assembly alias="DevExpress.Utils.v13.1" name="DevExpress.Utils.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="fontEdit1.Properties.Buttons" type="DevExpress.XtraEditors.Controls.ButtonPredefines, DevExpress.Utils.v13.1">
<value>Combo</value>
</data>
<data name="fontEdit1.Size" type="System.Drawing.Size, System.Drawing">
<value>154, 20</value>
</data>
<data name="fontEdit1.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;fontEdit1.Name" xml:space="preserve">
<value>fontEdit1</value>
</data>
<data name="&gt;&gt;fontEdit1.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.FontEdit, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;fontEdit1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;fontEdit1.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="btnPreview.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="btnPreview.Location" type="System.Drawing.Point, System.Drawing">
<value>165, 95</value>
</data>
<data name="btnPreview.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="btnPreview.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="btnPreview.Text" xml:space="preserve">
<value>Preview...</value>
</data>
<data name="&gt;&gt;btnPreview.Name" xml:space="preserve">
<value>btnPreview</value>
</data>
<data name="&gt;&gt;btnPreview.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.SimpleButton, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;btnPreview.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;btnPreview.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="btnCancel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="btnCancel.Location" type="System.Drawing.Point, System.Drawing">
<value>246, 95</value>
</data>
<data name="btnCancel.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="btnCancel.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="btnCancel.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;btnCancel.Name" xml:space="preserve">
<value>btnCancel</value>
</data>
<data name="&gt;&gt;btnCancel.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.SimpleButton, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;btnCancel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;btnCancel.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="spinFontSize.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="spinFontSize.EditValue" type="System.Decimal, mscorlib">
<value>12</value>
</data>
<data name="spinFontSize.Location" type="System.Drawing.Point, System.Drawing">
<value>266, 52</value>
</data>
<data name="spinFontSize.Properties.Buttons" type="DevExpress.XtraEditors.Controls.ButtonPredefines, DevExpress.Utils.v13.1">
<value>Combo</value>
</data>
<data name="spinFontSize.Properties.Mask.ShowPlaceHolders" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="spinFontSize.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 20</value>
</data>
<data name="spinFontSize.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="&gt;&gt;spinFontSize.Name" xml:space="preserve">
<value>spinFontSize</value>
</data>
<data name="&gt;&gt;spinFontSize.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.SpinEdit, DevExpress.XtraEditors.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;spinFontSize.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;spinFontSize.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>343, 137</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Print options</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>ReportOptionsDialog</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
</root>

View File

@@ -0,0 +1,55 @@
/// <XRTypeInfo>
/// <AssemblyFullName>DevExpress.XtraReports.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</AssemblyFullName>
/// <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraReports.v13.1\v4.0_13.1.6.0__b88d1754d700e49a\DevExpress.XtraReports.v13.1.dll</AssemblyLocation>
/// <TypeName>DevExpress.XtraReports.UI.XtraReport</TypeName>
/// <Localization>en-US</Localization>
/// <Version>13.1</Version>
/// <Resources>
/// <Resource Name="XtraReportSerialization.XtraReport">
/// zsrvvgEAAACRAAAAbFN5c3RlbS5SZXNvdXJjZXMuUmVzb3VyY2VSZWFkZXIsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OSNTeXN0ZW0uUmVzb3VyY2VzLlJ1bnRpbWVSZXNvdXJjZVNldAIAAAAAAAAAAAAAAFBBRFBBRFC0AAAA</Resource>
/// </Resources>
/// </XRTypeInfo>
namespace XtraReportSerialization {
public class XtraReport : DevExpress.XtraReports.UI.XtraReport {
private DevExpress.XtraReports.UI.XRControlStyle Heading;
private DevExpress.XtraReports.UI.XRControlStyle Normal;
private System.Resources.ResourceManager _resources;
private string _resourceString;
public XtraReport() {
this._resourceString = DevExpress.XtraReports.Serialization.XRResourceManager.GetResourceFor("XtraReportSerialization.XtraReport");
this.InitializeComponent();
}
private System.Resources.ResourceManager resources {
get {
if (_resources == null) {
this._resources = new DevExpress.XtraReports.Serialization.XRResourceManager(this._resourceString);
}
return this._resources;
}
}
private void InitializeComponent() {
this.Heading = new DevExpress.XtraReports.UI.XRControlStyle();
this.Normal = new DevExpress.XtraReports.UI.XRControlStyle();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Heading
//
this.Heading.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Bold);
this.Heading.Name = "Heading";
//
// Normal
//
this.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
this.Normal.Name = "Normal";
//
// XtraReport
//
this.Name = "XtraReport";
this.PageHeight = 1100;
this.PageWidth = 850;
this.Version = "13.1";
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
}
}

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ChannelList" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>ChanSort.Api.ChannelList, ChanSort.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -430,5 +430,41 @@ namespace ChanSort.Ui.Properties {
this["MruFile9"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Tahoma")]
public string PrintFontName {
get {
return ((string)(this["PrintFontName"]));
}
set {
this["PrintFontName"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("12")]
public decimal PrintFontSize {
get {
return ((decimal)(this["PrintFontSize"]));
}
set {
this["PrintFontSize"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool PrintSortByName {
get {
return ((bool)(this["PrintSortByName"]));
}
set {
this["PrintSortByName"] = value;
}
}
}
}

View File

@@ -104,5 +104,14 @@
<Setting Name="MruFile9" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="PrintFontName" Type="System.String" Scope="User">
<Value Profile="(Default)">Tahoma</Value>
</Setting>
<Setting Name="PrintFontSize" Type="System.Decimal" Scope="User">
<Value Profile="(Default)">12</Value>
</Setting>
<Setting Name="PrintSortByName" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>

View File

@@ -1,2 +1,3 @@
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v13.1, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

View File

@@ -110,6 +110,15 @@
<setting name="MruFile9" serializeAs="String">
<value />
</setting>
<setting name="PrintFontName" serializeAs="String">
<value>Tahoma</value>
</setting>
<setting name="PrintFontSize" serializeAs="String">
<value>12</value>
</setting>
<setting name="PrintSortByName" serializeAs="String">
<value>False</value>
</setting>
</ChanSort.Ui.Properties.Settings>
<GUI.Properties.Settings>
<setting name="InputTLL" serializeAs="String">

BIN
Images/imagelist/0034.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

View File

@@ -15,7 +15,7 @@ mkdir "%target%\de" 2>nul
xcopy /siy debug\de "%target%\de"
xcopy /siy debug\pt "%target%\pt"
copy readme.txt "%target%"
for %%f in (Utils Data XtraEditors XtraBars XtraGrid XtraLayout) do call :copyDll %%f
for %%f in (Utils Data Printing XtraPrinting XtraReports XtraEditors XtraBars XtraGrid XtraLayout XtraTreeList) do call :copyDll %%f
cd ..
del Website\ChanSort.zip 2>nul

View File

@@ -1,11 +1,10 @@
Version v2013-11-20.2 =====================================================
Version v2013-11-23 =======================================================
Changes:
- Fix for v2013-11-20: Errormessage at program start
- Fix for v2013-11-20: Panasonic channel names were set incorrectly
- Panasonic: Handling of special characters in channel names
- Toshiba: channels didn't change their order for zapping in .zip/chmgt.db
channel lists (thanks to Kurt W. for the hint)
- Channel lists can now be printed
- Fix: Error when saving Toshiba and Panasonic channel list which contained
red proxy entries for missing channels after applying a reference list
- Fix: Modified Panasonic channel names were not written to the file
The complete change log can be found at the end of this document