Remove assemblies add acknowledgements to About
This commit is contained in:
parent
2248d7b24e
commit
826e53c9cb
@ -13,7 +13,7 @@
|
|||||||
<Style Selector="controls|GroupBox">
|
<Style Selector="controls|GroupBox">
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Grid ColumnDefinitions="Auto,*,Auto" RowDefinitions="7,10,*,Auto">
|
<Grid ColumnDefinitions="Auto,*,Auto" RowDefinitions="8,12,*,Auto">
|
||||||
|
|
||||||
<Grid
|
<Grid
|
||||||
ZIndex="1"
|
ZIndex="1"
|
||||||
|
|||||||
@ -2,29 +2,29 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="600"
|
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="520"
|
||||||
MinWidth="500" MinHeight="550"
|
MinWidth="400" MinHeight="520"
|
||||||
Width="500" Height="600"
|
Width="400" Height="520"
|
||||||
x:Class="LibationAvalonia.Dialogs.AboutDialog"
|
x:Class="LibationAvalonia.Dialogs.AboutDialog"
|
||||||
xmlns:controls="clr-namespace:LibationAvalonia.Controls"
|
xmlns:controls="clr-namespace:LibationAvalonia.Controls"
|
||||||
Title="About Libation"
|
Title="About Libation"
|
||||||
Icon="/Assets/libation.ico">
|
Icon="/Assets/libation.ico">
|
||||||
|
|
||||||
<Grid Margin="10" ColumnDefinitions="Auto,*" RowDefinitions="Auto,Auto,Auto,Auto,*">
|
<Grid Margin="10" ColumnDefinitions="Auto,*" RowDefinitions="Auto,Auto,Auto,*">
|
||||||
|
|
||||||
<controls:LinkLabel Grid.ColumnSpan="2" FontSize="18" FontWeight="Bold" Text="{Binding Version}" ToolTip.Tip="View Release Notes" Tapped="ViewReleaseNotes_Tapped" />
|
<controls:LinkLabel Grid.ColumnSpan="2" FontSize="16" FontWeight="Bold" Text="{Binding Version}" ToolTip.Tip="View Release Notes" Tapped="ViewReleaseNotes_Tapped" />
|
||||||
|
|
||||||
<controls:LinkLabel Grid.Column="1" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="https://getlibation.com" Tapped="Link_getlibation"/>
|
<controls:LinkLabel Grid.Column="1" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Right" Text="https://getlibation.com" Tapped="Link_getlibation"/>
|
||||||
|
|
||||||
<Button Grid.Row="1" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Margin="0,20,0,0" IsEnabled="{Binding CanCheckForUpgrade}" Content="{Binding UpgradeButtonText}" Click="CheckForUpgrade_Click" />
|
<Button Grid.Row="1" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Margin="0,20,0,0" IsEnabled="{Binding CanCheckForUpgrade}" Content="{Binding UpgradeButtonText}" Click="CheckForUpgrade_Click" />
|
||||||
|
|
||||||
<Canvas Grid.Row="2" Grid.ColumnSpan="2" Margin="0,30" Width="345" Height="280">
|
<Canvas Grid.Row="2" Grid.ColumnSpan="2" Margin="0,30,0,20" Width="280" Height="220">
|
||||||
<Path Stretch="None" Fill="{DynamicResource IconFill}" Data="{DynamicResource LibationCheersIcon}">
|
<Path Stretch="None" Fill="{DynamicResource IconFill}" Data="{DynamicResource LibationCheersIcon}">
|
||||||
<Path.RenderTransform>
|
<Path.RenderTransform>
|
||||||
<TransformGroup>
|
<TransformGroup>
|
||||||
<RotateTransform Angle="12" />
|
<RotateTransform Angle="12" />
|
||||||
<ScaleTransform ScaleX="0.5" ScaleY="0.5" />
|
<ScaleTransform ScaleX="0.4" ScaleY="0.4" />
|
||||||
<TranslateTransform X="-150" Y="-120" />
|
<TranslateTransform X="-160" Y="-150" />
|
||||||
</TransformGroup>
|
</TransformGroup>
|
||||||
</Path.RenderTransform>
|
</Path.RenderTransform>
|
||||||
</Path>
|
</Path>
|
||||||
@ -33,36 +33,41 @@
|
|||||||
<TransformGroup>
|
<TransformGroup>
|
||||||
<ScaleTransform ScaleX="-1" ScaleY="1" />
|
<ScaleTransform ScaleX="-1" ScaleY="1" />
|
||||||
<RotateTransform Angle="-12" />
|
<RotateTransform Angle="-12" />
|
||||||
<ScaleTransform ScaleX="0.5" ScaleY="0.5" />
|
<ScaleTransform ScaleX="0.4" ScaleY="0.4" />
|
||||||
<TranslateTransform X="78" Y="-120" />
|
<TranslateTransform X="23" Y="-150" />
|
||||||
</TransformGroup>
|
</TransformGroup>
|
||||||
</Path.RenderTransform>
|
</Path.RenderTransform>
|
||||||
</Path>
|
</Path>
|
||||||
<controls:LinkLabel Canvas.Left="50" Canvas.Top="40" Text="rmcrackan" Tapped="Link_rmcrackan" ToolTip.Tip="View rmcrackan's GitHub profile" />
|
|
||||||
<controls:LinkLabel Canvas.Right="50" Canvas.Top="40" Text="MBucari" Tapped="Link_MBucari" ToolTip.Tip="View MBucari's GitHub profile" />
|
|
||||||
</Canvas>
|
</Canvas>
|
||||||
|
|
||||||
<TextBlock Grid.Row="3" VerticalAlignment="Center" FontSize="16" FontWeight="Bold" Text="Loaded Assemblies"/>
|
<controls:GroupBox Grid.Row="3" BorderWidth="2" Label="Acknowledgements" Grid.ColumnSpan="2">
|
||||||
<Button Grid.Row="3" Grid.Column="1" HorizontalAlignment="Right" Padding="10,0" Content="Copy to Clipboard" Command="{Binding CopyAssembliesAsync}"/>
|
<StackPanel>
|
||||||
|
|
||||||
<ListBox Grid.Row="4" Grid.ColumnSpan="2" Margin="0,10,0,0" ItemsSource="{Binding Assemblies}">
|
<Grid ColumnDefinitions="Auto,*" RowDefinitions="Auto,Auto">
|
||||||
<ListBox.Styles>
|
<controls:LinkLabel FontWeight="Bold" Text="rmcrackan" Tapped="Link_GithubUser" />
|
||||||
<Style Selector="ListBoxItem" >
|
<TextBlock Grid.Column="1" Margin="10,0" Text="Creator" />
|
||||||
<Setter Property="Padding" Value="0" />
|
<controls:LinkLabel Grid.Row="1" FontWeight="Bold" Text="Mbucari" Tapped="Link_GithubUser" />
|
||||||
<Style Selector="^ > Grid > TextBlock" >
|
<TextBlock Grid.Row="1" Grid.Column="1" Margin="10,0" Text="Developer" />
|
||||||
<Setter Property="FontSize" Value="11" />
|
|
||||||
</Style>
|
|
||||||
</Style>
|
|
||||||
</ListBox.Styles>
|
|
||||||
<ListBox.ItemTemplate>
|
|
||||||
<DataTemplate>
|
|
||||||
<Grid ColumnDefinitions="*,Auto">
|
|
||||||
<TextBlock Text="{Binding Name}" />
|
|
||||||
<TextBlock Grid.Column="1" Text="{Binding Version}" />
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataTemplate>
|
|
||||||
</ListBox.ItemTemplate>
|
<TextBlock Margin="0,10" FontSize="12" Text="Additional Contributions by:" TextDecorations="Underline"/>
|
||||||
</ListBox>
|
|
||||||
|
<WrapPanel>
|
||||||
|
<WrapPanel.Styles>
|
||||||
|
<Style Selector="TextBlock">
|
||||||
|
<Setter Property="Margin" Value="5,0" />
|
||||||
|
<Setter Property="FontSize" Value="13" />
|
||||||
|
</Style>
|
||||||
|
</WrapPanel.Styles>
|
||||||
|
<controls:LinkLabel Text="pixil98" Tapped="Link_GithubUser" />
|
||||||
|
<controls:LinkLabel Text="hutattedonmyarm" Tapped="Link_GithubUser" />
|
||||||
|
<controls:LinkLabel Text="seanke" Tapped="Link_GithubUser" />
|
||||||
|
<controls:LinkLabel Text="wtanksleyjr" Tapped="Link_GithubUser" />
|
||||||
|
<controls:LinkLabel Text="Dr.Blank" Tapped="Link_GithubUser" />
|
||||||
|
<controls:LinkLabel Text="CharlieRussel" Tapped="Link_GithubUser" />
|
||||||
|
</WrapPanel>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:GroupBox>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|||||||
@ -1,12 +1,10 @@
|
|||||||
using Avalonia.Collections;
|
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
using LibationAvalonia.Controls;
|
||||||
using LibationAvalonia.ViewModels;
|
using LibationAvalonia.ViewModels;
|
||||||
using LibationFileManager;
|
using LibationFileManager;
|
||||||
using LibationUiBase;
|
using LibationUiBase;
|
||||||
using ReactiveUI;
|
using ReactiveUI;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace LibationAvalonia.Dialogs
|
namespace LibationAvalonia.Dialogs
|
||||||
@ -50,8 +48,14 @@ namespace LibationAvalonia.Dialogs
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Link_rmcrackan(object sender, Avalonia.Input.TappedEventArgs e) => Dinah.Core.Go.To.Url($"ht" + "tps://github.com/rmcrackan");
|
private void Link_GithubUser(object sender, Avalonia.Input.TappedEventArgs e)
|
||||||
private void Link_MBucari(object sender, Avalonia.Input.TappedEventArgs e) => Dinah.Core.Go.To.Url($"ht" + "tps://github.com/MBucari");
|
{
|
||||||
|
if (sender is LinkLabel lbl)
|
||||||
|
{
|
||||||
|
Dinah.Core.Go.To.Url($"ht" + $"tps://github.com/{lbl.Text.Replace('.','-')}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void Link_getlibation(object sender, Avalonia.Input.TappedEventArgs e) => Dinah.Core.Go.To.Url(AppScaffolding.LibationScaffolding.WebsiteUrl);
|
private void Link_getlibation(object sender, Avalonia.Input.TappedEventArgs e) => Dinah.Core.Go.To.Url(AppScaffolding.LibationScaffolding.WebsiteUrl);
|
||||||
|
|
||||||
private void ViewReleaseNotes_Tapped(object sender, Avalonia.Input.TappedEventArgs e)
|
private void ViewReleaseNotes_Tapped(object sender, Avalonia.Input.TappedEventArgs e)
|
||||||
@ -61,7 +65,6 @@ namespace LibationAvalonia.Dialogs
|
|||||||
public class AboutVM : ViewModelBase
|
public class AboutVM : ViewModelBase
|
||||||
{
|
{
|
||||||
public string Version { get; }
|
public string Version { get; }
|
||||||
public AvaloniaList<AssemblyName> Assemblies { get; } = new();
|
|
||||||
public bool CanCheckForUpgrade { get => canCheckForUpgrade; set => this.RaiseAndSetIfChanged(ref canCheckForUpgrade, value); }
|
public bool CanCheckForUpgrade { get => canCheckForUpgrade; set => this.RaiseAndSetIfChanged(ref canCheckForUpgrade, value); }
|
||||||
public string UpgradeButtonText { get => upgradeButtonText; set => this.RaiseAndSetIfChanged(ref upgradeButtonText, value); }
|
public string UpgradeButtonText { get => upgradeButtonText; set => this.RaiseAndSetIfChanged(ref upgradeButtonText, value); }
|
||||||
|
|
||||||
@ -72,9 +75,6 @@ namespace LibationAvalonia.Dialogs
|
|||||||
public AboutVM()
|
public AboutVM()
|
||||||
{
|
{
|
||||||
Version = $"Libation {AppScaffolding.LibationScaffolding.Variety} v{AppScaffolding.LibationScaffolding.BuildVersion}";
|
Version = $"Libation {AppScaffolding.LibationScaffolding.Variety} v{AppScaffolding.LibationScaffolding.BuildVersion}";
|
||||||
Assemblies.AddRange(AppDomain.CurrentDomain.GetAssemblies().Select(a => new AssemblyName(a.FullName)).Where(a => a.Version.Major + a.Version.Minor + a.Version.Build + a.Version.Revision > 0).OrderBy(a => a.Name));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task CopyAssembliesAsync() => await App.Current.Clipboard.SetTextAsync(string.Join(Environment.NewLine, Assemblies.Select(a => $"{a.Name}\t{a.Version}")));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
414
Source/LibationWinForms/Dialogs/AboutDialog.Designer.cs
generated
414
Source/LibationWinForms/Dialogs/AboutDialog.Designer.cs
generated
@ -28,170 +28,281 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
this.releaseNotesLbl = new System.Windows.Forms.LinkLabel();
|
releaseNotesLbl = new System.Windows.Forms.LinkLabel();
|
||||||
this.checkForUpgradeBtn = new System.Windows.Forms.Button();
|
checkForUpgradeBtn = new System.Windows.Forms.Button();
|
||||||
this.listView1 = new System.Windows.Forms.ListView();
|
getLibationLbl = new System.Windows.Forms.LinkLabel();
|
||||||
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
|
rmcrackanLbl = new System.Windows.Forms.LinkLabel();
|
||||||
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
|
MBucariLbl = new System.Windows.Forms.LinkLabel();
|
||||||
this.copyBtn = new System.Windows.Forms.Button();
|
groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
label3 = new System.Windows.Forms.Label();
|
||||||
this.getLibationLbl = new System.Windows.Forms.LinkLabel();
|
label4 = new System.Windows.Forms.Label();
|
||||||
this.rmcrackanLbl = new System.Windows.Forms.LinkLabel();
|
label2 = new System.Windows.Forms.Label();
|
||||||
this.MBucariLbl = new System.Windows.Forms.LinkLabel();
|
label1 = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
this.SuspendLayout();
|
linkLabel4 = new System.Windows.Forms.LinkLabel();
|
||||||
|
linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||||
|
linkLabel3 = new System.Windows.Forms.LinkLabel();
|
||||||
|
linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||||
|
linkLabel5 = new System.Windows.Forms.LinkLabel();
|
||||||
|
linkLabel6 = new System.Windows.Forms.LinkLabel();
|
||||||
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
||||||
|
groupBox1.SuspendLayout();
|
||||||
|
flowLayoutPanel1.SuspendLayout();
|
||||||
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// pictureBox1
|
// pictureBox1
|
||||||
//
|
//
|
||||||
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
pictureBox1.Image = Properties.Resources.cheers;
|
||||||
this.pictureBox1.Image = global::LibationWinForms.Properties.Resources.cheers;
|
pictureBox1.Location = new System.Drawing.Point(12, 91);
|
||||||
this.pictureBox1.Location = new System.Drawing.Point(22, 224);
|
pictureBox1.Name = "pictureBox1";
|
||||||
this.pictureBox1.Margin = new System.Windows.Forms.Padding(6);
|
pictureBox1.Size = new System.Drawing.Size(410, 210);
|
||||||
this.pictureBox1.Name = "pictureBox1";
|
pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
this.pictureBox1.Size = new System.Drawing.Size(761, 604);
|
pictureBox1.TabIndex = 0;
|
||||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
pictureBox1.TabStop = false;
|
||||||
this.pictureBox1.TabIndex = 0;
|
|
||||||
this.pictureBox1.TabStop = false;
|
|
||||||
//
|
//
|
||||||
// releaseNotesLbl
|
// releaseNotesLbl
|
||||||
//
|
//
|
||||||
this.releaseNotesLbl.AutoSize = true;
|
releaseNotesLbl.AutoSize = true;
|
||||||
this.releaseNotesLbl.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
releaseNotesLbl.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
this.releaseNotesLbl.Location = new System.Drawing.Point(22, 26);
|
releaseNotesLbl.Location = new System.Drawing.Point(12, 12);
|
||||||
this.releaseNotesLbl.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
releaseNotesLbl.Name = "releaseNotesLbl";
|
||||||
this.releaseNotesLbl.Name = "releaseNotesLbl";
|
releaseNotesLbl.Size = new System.Drawing.Size(171, 20);
|
||||||
this.releaseNotesLbl.Size = new System.Drawing.Size(343, 41);
|
releaseNotesLbl.TabIndex = 2;
|
||||||
this.releaseNotesLbl.TabIndex = 2;
|
releaseNotesLbl.TabStop = true;
|
||||||
this.releaseNotesLbl.TabStop = true;
|
releaseNotesLbl.Text = "Libation Classic v11.0.0.0";
|
||||||
this.releaseNotesLbl.Text = "Libation Classic v11.0.0.0";
|
|
||||||
//
|
//
|
||||||
// checkForUpgradeBtn
|
// checkForUpgradeBtn
|
||||||
//
|
//
|
||||||
this.checkForUpgradeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
checkForUpgradeBtn.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
checkForUpgradeBtn.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
this.checkForUpgradeBtn.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
checkForUpgradeBtn.Location = new System.Drawing.Point(12, 54);
|
||||||
this.checkForUpgradeBtn.Location = new System.Drawing.Point(22, 115);
|
checkForUpgradeBtn.Name = "checkForUpgradeBtn";
|
||||||
this.checkForUpgradeBtn.Margin = new System.Windows.Forms.Padding(6);
|
checkForUpgradeBtn.Size = new System.Drawing.Size(410, 31);
|
||||||
this.checkForUpgradeBtn.Name = "checkForUpgradeBtn";
|
checkForUpgradeBtn.TabIndex = 3;
|
||||||
this.checkForUpgradeBtn.Size = new System.Drawing.Size(761, 66);
|
checkForUpgradeBtn.Text = "Check for Upgrade";
|
||||||
this.checkForUpgradeBtn.TabIndex = 3;
|
checkForUpgradeBtn.UseVisualStyleBackColor = true;
|
||||||
this.checkForUpgradeBtn.Text = "Check for Upgrade";
|
|
||||||
this.checkForUpgradeBtn.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// listView1
|
|
||||||
//
|
|
||||||
this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
||||||
this.columnHeader1,
|
|
||||||
this.columnHeader2});
|
|
||||||
this.listView1.Location = new System.Drawing.Point(22, 947);
|
|
||||||
this.listView1.Margin = new System.Windows.Forms.Padding(6);
|
|
||||||
this.listView1.Name = "listView1";
|
|
||||||
this.listView1.Size = new System.Drawing.Size(758, 219);
|
|
||||||
this.listView1.TabIndex = 4;
|
|
||||||
this.listView1.UseCompatibleStateImageBehavior = false;
|
|
||||||
this.listView1.View = System.Windows.Forms.View.Details;
|
|
||||||
//
|
|
||||||
// columnHeader1
|
|
||||||
//
|
|
||||||
this.columnHeader1.Text = "Assembly";
|
|
||||||
//
|
|
||||||
// columnHeader2
|
|
||||||
//
|
|
||||||
this.columnHeader2.Text = "Version";
|
|
||||||
//
|
|
||||||
// copyBtn
|
|
||||||
//
|
|
||||||
this.copyBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.copyBtn.Location = new System.Drawing.Point(565, 885);
|
|
||||||
this.copyBtn.Margin = new System.Windows.Forms.Padding(6);
|
|
||||||
this.copyBtn.Name = "copyBtn";
|
|
||||||
this.copyBtn.Size = new System.Drawing.Size(219, 49);
|
|
||||||
this.copyBtn.TabIndex = 5;
|
|
||||||
this.copyBtn.Text = "Copy to Clipboard";
|
|
||||||
this.copyBtn.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// label2
|
|
||||||
//
|
|
||||||
this.label2.AutoSize = true;
|
|
||||||
this.label2.Location = new System.Drawing.Point(22, 894);
|
|
||||||
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
||||||
this.label2.Name = "label2";
|
|
||||||
this.label2.Size = new System.Drawing.Size(217, 32);
|
|
||||||
this.label2.TabIndex = 6;
|
|
||||||
this.label2.Text = "Loaded Assemblies";
|
|
||||||
//
|
//
|
||||||
// getLibationLbl
|
// getLibationLbl
|
||||||
//
|
//
|
||||||
this.getLibationLbl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
getLibationLbl.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
this.getLibationLbl.AutoSize = true;
|
getLibationLbl.AutoSize = true;
|
||||||
this.getLibationLbl.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
getLibationLbl.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
this.getLibationLbl.Location = new System.Drawing.Point(455, 26);
|
getLibationLbl.Location = new System.Drawing.Point(245, 12);
|
||||||
this.getLibationLbl.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
getLibationLbl.Name = "getLibationLbl";
|
||||||
this.getLibationLbl.Name = "getLibationLbl";
|
getLibationLbl.Size = new System.Drawing.Size(162, 20);
|
||||||
this.getLibationLbl.Size = new System.Drawing.Size(325, 41);
|
getLibationLbl.TabIndex = 7;
|
||||||
this.getLibationLbl.TabIndex = 7;
|
getLibationLbl.TabStop = true;
|
||||||
this.getLibationLbl.TabStop = true;
|
getLibationLbl.Text = "https://getlibation.com";
|
||||||
this.getLibationLbl.Text = "https://getlibation.com";
|
getLibationLbl.LinkClicked += getLibationLbl_LinkClicked;
|
||||||
this.getLibationLbl.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.getLibationLbl_LinkClicked);
|
|
||||||
//
|
//
|
||||||
// rmcrackanLbl
|
// rmcrackanLbl
|
||||||
//
|
//
|
||||||
this.rmcrackanLbl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
rmcrackanLbl.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
rmcrackanLbl.AutoSize = true;
|
||||||
this.rmcrackanLbl.AutoSize = true;
|
rmcrackanLbl.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
||||||
this.rmcrackanLbl.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
rmcrackanLbl.Location = new System.Drawing.Point(6, 19);
|
||||||
this.rmcrackanLbl.Location = new System.Drawing.Point(45, 567);
|
rmcrackanLbl.Name = "rmcrackanLbl";
|
||||||
this.rmcrackanLbl.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
rmcrackanLbl.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
this.rmcrackanLbl.Name = "rmcrackanLbl";
|
rmcrackanLbl.Size = new System.Drawing.Size(80, 25);
|
||||||
this.rmcrackanLbl.Size = new System.Drawing.Size(123, 32);
|
rmcrackanLbl.TabIndex = 8;
|
||||||
this.rmcrackanLbl.TabIndex = 8;
|
rmcrackanLbl.TabStop = true;
|
||||||
this.rmcrackanLbl.TabStop = true;
|
rmcrackanLbl.Text = "rmcrackan";
|
||||||
this.rmcrackanLbl.Text = "rmcrackan";
|
rmcrackanLbl.LinkClicked += Link_GithubUser;
|
||||||
this.rmcrackanLbl.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.rmcrackanLbl_LinkClicked);
|
|
||||||
//
|
//
|
||||||
// MBucariLbl
|
// MBucariLbl
|
||||||
//
|
//
|
||||||
this.MBucariLbl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
MBucariLbl.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
MBucariLbl.AutoSize = true;
|
||||||
this.MBucariLbl.AutoSize = true;
|
MBucariLbl.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
||||||
this.MBucariLbl.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
MBucariLbl.Location = new System.Drawing.Point(6, 40);
|
||||||
this.MBucariLbl.Location = new System.Drawing.Point(665, 567);
|
MBucariLbl.Name = "MBucariLbl";
|
||||||
this.MBucariLbl.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
MBucariLbl.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
this.MBucariLbl.Name = "MBucariLbl";
|
MBucariLbl.Size = new System.Drawing.Size(64, 25);
|
||||||
this.MBucariLbl.Size = new System.Drawing.Size(101, 32);
|
MBucariLbl.TabIndex = 9;
|
||||||
this.MBucariLbl.TabIndex = 9;
|
MBucariLbl.TabStop = true;
|
||||||
this.MBucariLbl.TabStop = true;
|
MBucariLbl.Text = "Mbucari";
|
||||||
this.MBucariLbl.Text = "MBucari";
|
MBucariLbl.LinkClicked += Link_GithubUser;
|
||||||
this.MBucariLbl.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.MBucariLbl_LinkClicked);
|
//
|
||||||
|
// groupBox1
|
||||||
|
//
|
||||||
|
groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
groupBox1.Controls.Add(label3);
|
||||||
|
groupBox1.Controls.Add(label4);
|
||||||
|
groupBox1.Controls.Add(label2);
|
||||||
|
groupBox1.Controls.Add(label1);
|
||||||
|
groupBox1.Controls.Add(flowLayoutPanel1);
|
||||||
|
groupBox1.Controls.Add(MBucariLbl);
|
||||||
|
groupBox1.Controls.Add(rmcrackanLbl);
|
||||||
|
groupBox1.Location = new System.Drawing.Point(12, 307);
|
||||||
|
groupBox1.Name = "groupBox1";
|
||||||
|
groupBox1.Size = new System.Drawing.Size(410, 172);
|
||||||
|
groupBox1.TabIndex = 10;
|
||||||
|
groupBox1.TabStop = false;
|
||||||
|
groupBox1.Text = "Acknowledgements";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
label3.AutoSize = true;
|
||||||
|
label3.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
label3.Location = new System.Drawing.Point(92, 43);
|
||||||
|
label3.Name = "label3";
|
||||||
|
label3.Padding = new System.Windows.Forms.Padding(0, 0, 0, 3);
|
||||||
|
label3.Size = new System.Drawing.Size(71, 22);
|
||||||
|
label3.TabIndex = 12;
|
||||||
|
label3.Text = "Developer";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
label4.AutoSize = true;
|
||||||
|
label4.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
label4.Location = new System.Drawing.Point(92, 22);
|
||||||
|
label4.Name = "label4";
|
||||||
|
label4.Padding = new System.Windows.Forms.Padding(0, 0, 0, 3);
|
||||||
|
label4.Size = new System.Drawing.Size(55, 22);
|
||||||
|
label4.TabIndex = 12;
|
||||||
|
label4.Text = "Creator";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
label2.AutoSize = true;
|
||||||
|
label2.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
label2.Location = new System.Drawing.Point(92, 22);
|
||||||
|
label2.Name = "label2";
|
||||||
|
label2.Padding = new System.Windows.Forms.Padding(0, 0, 0, 3);
|
||||||
|
label2.Size = new System.Drawing.Size(45, 22);
|
||||||
|
label2.TabIndex = 12;
|
||||||
|
label2.Text = "label2";
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
label1.AutoSize = true;
|
||||||
|
label1.Location = new System.Drawing.Point(6, 82);
|
||||||
|
label1.Name = "label1";
|
||||||
|
label1.Size = new System.Drawing.Size(157, 15);
|
||||||
|
label1.TabIndex = 11;
|
||||||
|
label1.Text = "Additional Contributions by:";
|
||||||
|
//
|
||||||
|
// flowLayoutPanel1
|
||||||
|
//
|
||||||
|
flowLayoutPanel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
flowLayoutPanel1.Controls.Add(linkLabel4);
|
||||||
|
flowLayoutPanel1.Controls.Add(linkLabel2);
|
||||||
|
flowLayoutPanel1.Controls.Add(linkLabel3);
|
||||||
|
flowLayoutPanel1.Controls.Add(linkLabel1);
|
||||||
|
flowLayoutPanel1.Controls.Add(linkLabel5);
|
||||||
|
flowLayoutPanel1.Controls.Add(linkLabel6);
|
||||||
|
flowLayoutPanel1.Location = new System.Drawing.Point(6, 100);
|
||||||
|
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||||
|
flowLayoutPanel1.Size = new System.Drawing.Size(398, 66);
|
||||||
|
flowLayoutPanel1.TabIndex = 10;
|
||||||
|
//
|
||||||
|
// linkLabel4
|
||||||
|
//
|
||||||
|
linkLabel4.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
linkLabel4.AutoSize = true;
|
||||||
|
linkLabel4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
linkLabel4.Location = new System.Drawing.Point(3, 0);
|
||||||
|
linkLabel4.Name = "linkLabel4";
|
||||||
|
linkLabel4.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
|
linkLabel4.Size = new System.Drawing.Size(41, 21);
|
||||||
|
linkLabel4.TabIndex = 9;
|
||||||
|
linkLabel4.TabStop = true;
|
||||||
|
linkLabel4.Text = "pixil98";
|
||||||
|
linkLabel4.LinkClicked += Link_GithubUser;
|
||||||
|
//
|
||||||
|
// linkLabel2
|
||||||
|
//
|
||||||
|
linkLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
linkLabel2.AutoSize = true;
|
||||||
|
linkLabel2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
linkLabel2.Location = new System.Drawing.Point(50, 0);
|
||||||
|
linkLabel2.Name = "linkLabel2";
|
||||||
|
linkLabel2.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
|
linkLabel2.Size = new System.Drawing.Size(104, 21);
|
||||||
|
linkLabel2.TabIndex = 9;
|
||||||
|
linkLabel2.TabStop = true;
|
||||||
|
linkLabel2.Text = "hutattedonmyarm";
|
||||||
|
linkLabel2.LinkClicked += Link_GithubUser;
|
||||||
|
//
|
||||||
|
// linkLabel3
|
||||||
|
//
|
||||||
|
linkLabel3.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
linkLabel3.AutoSize = true;
|
||||||
|
linkLabel3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
linkLabel3.Location = new System.Drawing.Point(160, 0);
|
||||||
|
linkLabel3.Name = "linkLabel3";
|
||||||
|
linkLabel3.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
|
linkLabel3.Size = new System.Drawing.Size(43, 21);
|
||||||
|
linkLabel3.TabIndex = 9;
|
||||||
|
linkLabel3.TabStop = true;
|
||||||
|
linkLabel3.Text = "seanke";
|
||||||
|
linkLabel3.LinkClicked += Link_GithubUser;
|
||||||
|
//
|
||||||
|
// linkLabel1
|
||||||
|
//
|
||||||
|
linkLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
linkLabel1.AutoSize = true;
|
||||||
|
linkLabel1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
linkLabel1.Location = new System.Drawing.Point(209, 0);
|
||||||
|
linkLabel1.Name = "linkLabel1";
|
||||||
|
linkLabel1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
|
linkLabel1.Size = new System.Drawing.Size(66, 21);
|
||||||
|
linkLabel1.TabIndex = 9;
|
||||||
|
linkLabel1.TabStop = true;
|
||||||
|
linkLabel1.Text = "wtanksleyjr";
|
||||||
|
linkLabel1.LinkClicked += Link_GithubUser;
|
||||||
|
//
|
||||||
|
// linkLabel5
|
||||||
|
//
|
||||||
|
linkLabel5.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
linkLabel5.AutoSize = true;
|
||||||
|
linkLabel5.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
linkLabel5.Location = new System.Drawing.Point(281, 0);
|
||||||
|
linkLabel5.Name = "linkLabel5";
|
||||||
|
linkLabel5.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
|
linkLabel5.Size = new System.Drawing.Size(51, 21);
|
||||||
|
linkLabel5.TabIndex = 9;
|
||||||
|
linkLabel5.TabStop = true;
|
||||||
|
linkLabel5.Text = "Dr.Blank";
|
||||||
|
linkLabel5.LinkClicked += Link_GithubUser;
|
||||||
|
//
|
||||||
|
// linkLabel6
|
||||||
|
//
|
||||||
|
linkLabel6.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
linkLabel6.AutoSize = true;
|
||||||
|
linkLabel6.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||||
|
linkLabel6.Location = new System.Drawing.Point(3, 21);
|
||||||
|
linkLabel6.Name = "linkLabel6";
|
||||||
|
linkLabel6.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||||
|
linkLabel6.Size = new System.Drawing.Size(77, 21);
|
||||||
|
linkLabel6.TabIndex = 9;
|
||||||
|
linkLabel6.TabStop = true;
|
||||||
|
linkLabel6.Text = "CharlieRussel";
|
||||||
|
linkLabel6.LinkClicked += Link_GithubUser;
|
||||||
//
|
//
|
||||||
// AboutDialog
|
// AboutDialog
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 32F);
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(806, 1197);
|
ClientSize = new System.Drawing.Size(434, 491);
|
||||||
this.Controls.Add(this.MBucariLbl);
|
Controls.Add(groupBox1);
|
||||||
this.Controls.Add(this.rmcrackanLbl);
|
Controls.Add(getLibationLbl);
|
||||||
this.Controls.Add(this.getLibationLbl);
|
Controls.Add(checkForUpgradeBtn);
|
||||||
this.Controls.Add(this.label2);
|
Controls.Add(releaseNotesLbl);
|
||||||
this.Controls.Add(this.copyBtn);
|
Controls.Add(pictureBox1);
|
||||||
this.Controls.Add(this.listView1);
|
MinimumSize = new System.Drawing.Size(445, 530);
|
||||||
this.Controls.Add(this.checkForUpgradeBtn);
|
Name = "AboutDialog";
|
||||||
this.Controls.Add(this.releaseNotesLbl);
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
this.Controls.Add(this.pictureBox1);
|
Text = "About Libation";
|
||||||
this.Margin = new System.Windows.Forms.Padding(6);
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
||||||
this.MinimumSize = new System.Drawing.Size(813, 1200);
|
groupBox1.ResumeLayout(false);
|
||||||
this.Name = "AboutDialog";
|
groupBox1.PerformLayout();
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
flowLayoutPanel1.ResumeLayout(false);
|
||||||
this.Text = "About Libation";
|
flowLayoutPanel1.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
PerformLayout();
|
||||||
this.PerformLayout();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
@ -199,13 +310,20 @@
|
|||||||
private System.Windows.Forms.PictureBox pictureBox1;
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
private System.Windows.Forms.LinkLabel releaseNotesLbl;
|
private System.Windows.Forms.LinkLabel releaseNotesLbl;
|
||||||
private System.Windows.Forms.Button checkForUpgradeBtn;
|
private System.Windows.Forms.Button checkForUpgradeBtn;
|
||||||
private System.Windows.Forms.ListView listView1;
|
|
||||||
private System.Windows.Forms.Button copyBtn;
|
|
||||||
private System.Windows.Forms.Label label2;
|
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader1;
|
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader2;
|
|
||||||
private System.Windows.Forms.LinkLabel getLibationLbl;
|
private System.Windows.Forms.LinkLabel getLibationLbl;
|
||||||
private System.Windows.Forms.LinkLabel rmcrackanLbl;
|
private System.Windows.Forms.LinkLabel rmcrackanLbl;
|
||||||
private System.Windows.Forms.LinkLabel MBucariLbl;
|
private System.Windows.Forms.LinkLabel MBucariLbl;
|
||||||
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel4;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel2;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel3;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel5;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel6;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,12 +1,5 @@
|
|||||||
using LibationUiBase;
|
using LibationUiBase;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
@ -19,17 +12,9 @@ namespace LibationWinForms.Dialogs
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
this.SetLibationIcon();
|
this.SetLibationIcon();
|
||||||
releaseNotesLbl.Text = $"Libation {AppScaffolding.LibationScaffolding.Variety} v{AppScaffolding.LibationScaffolding.BuildVersion}";
|
releaseNotesLbl.Text = $"Libation {AppScaffolding.LibationScaffolding.Variety} v{AppScaffolding.LibationScaffolding.BuildVersion}";
|
||||||
|
|
||||||
var toolTip = new ToolTip();
|
var toolTip = new ToolTip();
|
||||||
|
|
||||||
toolTip.SetToolTip(releaseNotesLbl, "View Release Notes");
|
toolTip.SetToolTip(releaseNotesLbl, "View Release Notes");
|
||||||
toolTip.SetToolTip(rmcrackanLbl, "View rmcrackan's GitHub profile");
|
|
||||||
toolTip.SetToolTip(MBucariLbl, "View MBucari's GitHub profile");
|
|
||||||
|
|
||||||
var asmNames = AppDomain.CurrentDomain.GetAssemblies().Select(a => new AssemblyName(a.FullName)).Where(a => a.Version.Major + a.Version.Minor + a.Version.Build + a.Version.Revision > 0).OrderBy(a => a.Name).ToList();
|
|
||||||
|
|
||||||
listView1.Items.AddRange(asmNames.Select(a => new ListViewItem(new string[] { a.Name, a.Version.ToString() })).ToArray());
|
|
||||||
listView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
|
|
||||||
Resize += (_, _) => listView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void releaseNotesLbl_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
private void releaseNotesLbl_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
@ -63,17 +48,15 @@ namespace LibationWinForms.Dialogs
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void copyBtn_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var text = string.Join(Environment.NewLine, listView1.Items.OfType<ListViewItem>().Select(i => $"{i.SubItems[0].Text}\t{i.SubItems[1].Text}"));
|
|
||||||
Clipboard.SetDataObject(text, false, 5, 150);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void getLibationLbl_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
private void getLibationLbl_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
=> Dinah.Core.Go.To.Url(AppScaffolding.LibationScaffolding.WebsiteUrl);
|
=> Dinah.Core.Go.To.Url(AppScaffolding.LibationScaffolding.WebsiteUrl);
|
||||||
|
|
||||||
private void rmcrackanLbl_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) => Dinah.Core.Go.To.Url($"ht" + "tps://github.com/rmcrackan");
|
private void Link_GithubUser(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
|
{
|
||||||
private void MBucariLbl_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) => Dinah.Core.Go.To.Url($"ht" + "tps://github.com/MBucari");
|
if (sender is LinkLabel lbl)
|
||||||
|
{
|
||||||
|
Dinah.Core.Go.To.Url($"ht" + $"tps://github.com/{lbl.Text.Replace('.', '-')}");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user