mirror of
https://github.com/WB3000/nusdownloader.git
synced 2024-11-17 07:09:21 +01:00
This commit is contained in:
parent
7caa175fdb
commit
2eeab2c828
@ -158,6 +158,10 @@ namespace NUS_Downloader
|
|||||||
public Form1()
|
public Form1()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
System.Drawing.Size mysize = new System.Drawing.Size(280, this.decryptbox.Top + this.decryptbox.Height + 30);
|
||||||
|
this.MaximumSize = this.MinimumSize = this.Size = mysize;
|
||||||
|
|
||||||
KoreaMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);
|
KoreaMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);
|
||||||
NTSCMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);
|
NTSCMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);
|
||||||
PALMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);
|
PALMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);
|
||||||
@ -2497,10 +2501,18 @@ namespace NUS_Downloader
|
|||||||
WriteStatus(" - Custom proxy settings applied!");
|
WriteStatus(" - Custom proxy settings applied!");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
client.Proxy = WebRequest.GetSystemWebProxy();
|
client.Proxy = WebRequest.GetSystemWebProxy();
|
||||||
client.UseDefaultCredentials = true;
|
client.UseDefaultCredentials = true;
|
||||||
}
|
}
|
||||||
|
catch (NotImplementedException)
|
||||||
|
{
|
||||||
|
// Linux support
|
||||||
|
WriteStatus("This operating system does not support automatic system proxy usage. Operating without a proxy...");
|
||||||
|
}
|
||||||
|
}
|
||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3388,7 +3400,8 @@ namespace NUS_Downloader
|
|||||||
private void button3_MouseEnter(object sender, EventArgs e)
|
private void button3_MouseEnter(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// expand clear button
|
// expand clear button
|
||||||
button3.Location = new Point(194, 363);
|
//button3.Location = new Point(194, 363);
|
||||||
|
button3.Left -= 45;
|
||||||
button3.Size = new System.Drawing.Size(68, 21);
|
button3.Size = new System.Drawing.Size(68, 21);
|
||||||
button3.Text = "Clear";
|
button3.Text = "Clear";
|
||||||
button3.ImageAlign = ContentAlignment.MiddleLeft;
|
button3.ImageAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -3397,7 +3410,8 @@ namespace NUS_Downloader
|
|||||||
private void button3_MouseLeave(object sender, EventArgs e)
|
private void button3_MouseLeave(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// shrink clear button
|
// shrink clear button
|
||||||
button3.Location = new Point(239, 363);
|
//button3.Location = new Point(239, 363);
|
||||||
|
button3.Left += 45;
|
||||||
button3.Size = new System.Drawing.Size(23, 21);
|
button3.Size = new System.Drawing.Size(23, 21);
|
||||||
button3.Text = String.Empty;
|
button3.Text = String.Empty;
|
||||||
button3.ImageAlign = ContentAlignment.MiddleCenter;
|
button3.ImageAlign = ContentAlignment.MiddleCenter;
|
||||||
@ -3405,7 +3419,8 @@ namespace NUS_Downloader
|
|||||||
|
|
||||||
private void saveaswadbtn_MouseEnter(object sender, EventArgs e)
|
private void saveaswadbtn_MouseEnter(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
saveaswadbtn.Location = new Point(190, 433);
|
//saveaswadbtn.Location = new Point(190, 433);
|
||||||
|
saveaswadbtn.Left -= 40;
|
||||||
saveaswadbtn.Size = new Size(72, 22);
|
saveaswadbtn.Size = new Size(72, 22);
|
||||||
saveaswadbtn.Text = "Save As";
|
saveaswadbtn.Text = "Save As";
|
||||||
saveaswadbtn.ImageAlign = ContentAlignment.MiddleLeft;
|
saveaswadbtn.ImageAlign = ContentAlignment.MiddleLeft;
|
||||||
@ -3413,7 +3428,8 @@ namespace NUS_Downloader
|
|||||||
|
|
||||||
private void saveaswadbtn_MouseLeave(object sender, EventArgs e)
|
private void saveaswadbtn_MouseLeave(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
saveaswadbtn.Location = new Point(230, 433);
|
//saveaswadbtn.Location = new Point(230, 433);
|
||||||
|
saveaswadbtn.Left += 40;
|
||||||
saveaswadbtn.Size = new Size(32, 22);
|
saveaswadbtn.Size = new Size(32, 22);
|
||||||
saveaswadbtn.Text = String.Empty;
|
saveaswadbtn.Text = String.Empty;
|
||||||
saveaswadbtn.ImageAlign = ContentAlignment.MiddleCenter;
|
saveaswadbtn.ImageAlign = ContentAlignment.MiddleCenter;
|
||||||
|
@ -5,7 +5,17 @@
|
|||||||
// $Date:: $ //
|
// $Date:: $ //
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
|
|
||||||
Make more compatible with mono.
|
Make more compatible with mono for Linux.
|
||||||
|
Broken stuff:
|
||||||
|
- Downloading anything
|
||||||
|
- Bottom part of dialog cut off
|
||||||
|
Working stuff:
|
||||||
|
- Displaying Form1
|
||||||
|
- Loading database
|
||||||
|
- Generating update scripts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Finish scripting improvements.
|
Finish scripting improvements.
|
||||||
|
|
||||||
Routine:
|
Routine:
|
||||||
|
Loading…
Reference in New Issue
Block a user