Skip to content

Commit

Permalink
Add version
Browse files Browse the repository at this point in the history
  • Loading branch information
bezzad committed Oct 15, 2015
1 parent ebf482f commit 512eed2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Binary file modified src/.vs/WHOis/v14/.suo
Binary file not shown.
10 changes: 7 additions & 3 deletions src/WHOis/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Reflection;

namespace WHOis
{
Expand All @@ -19,6 +19,8 @@ public MainForm()
InitializeComponent();

_selectedExtensions = new List<string>();

this.Text = $"WHOis Onlin Domain Database ver {Assembly.GetExecutingAssembly().GetName().Version.ToString()}";
}


Expand Down Expand Up @@ -81,12 +83,14 @@ private async void btnLookUp_Click(object sender, EventArgs e)

foreach (var url in names)
{
if (_cts.IsCancellationRequested) break;
if (_cts.IsCancellationRequested) return;

var extensionReserving = new Dictionary<string, WhoisInfo>();

foreach (var extension in _selectedExtensions)
{
if (_cts.IsCancellationRequested) return;

string server = cmbServer.Text;

if (extension.Equals("ir", StringComparison.OrdinalIgnoreCase))
Expand Down Expand Up @@ -293,7 +297,7 @@ private async void dgvResult_CellDoubleClick(object sender, DataGridViewCellEven

InvokeIfRequire(() => Cursor = Cursors.WaitCursor);
DataGridViewCell cell = dgvResult.Rows[e.RowIndex].Cells[e.ColumnIndex];


if (!string.IsNullOrEmpty(cell.ErrorText))
{
Expand Down
4 changes: 2 additions & 2 deletions src/WHOis/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("2.2.*")]
[assembly: AssemblyFileVersion("2.2.*")]

0 comments on commit 512eed2

Please sign in to comment.