More mono fixes, looking good now :P

This commit is contained in:
gb.luke 2010-07-08 20:01:06 +00:00
parent f8640bae81
commit 72d4215429
2 changed files with 22 additions and 11 deletions

View File

@ -98,6 +98,7 @@
this.packbox = new System.Windows.Forms.CheckBox();
this.decryptbox = new System.Windows.Forms.CheckBox();
this.localuse = new System.Windows.Forms.CheckBox();
this.iosPatchCheckbox = new System.Windows.Forms.CheckBox();
this.titleversion = new wmgCMS.WaterMarkTextBox();
this.titleidbox = new wmgCMS.WaterMarkTextBox();
this.dlprogress = new wyDay.Controls.Windows7ProgressBar();
@ -643,8 +644,7 @@
//
// saveaswadbtn
//
this.saveaswadbtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.saveaswadbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.saveaswadbtn.AutoSize = true;
this.saveaswadbtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.saveaswadbtn.BackColor = System.Drawing.Color.Transparent;
@ -670,7 +670,7 @@
this.keepenccontents.CheckState = System.Windows.Forms.CheckState.Checked;
this.keepenccontents.Image = global::NUS_Downloader.Properties.Resources.package;
this.keepenccontents.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.keepenccontents.Location = new System.Drawing.Point(12, 437);
this.keepenccontents.Location = new System.Drawing.Point(12, 436);
this.keepenccontents.Name = "keepenccontents";
this.keepenccontents.Size = new System.Drawing.Size(212, 26);
this.keepenccontents.TabIndex = 52;
@ -680,8 +680,7 @@
//
// clearButton
//
this.clearButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.clearButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.clearButton.AutoSize = true;
this.clearButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.clearButton.BackColor = System.Drawing.Color.Transparent;
@ -742,6 +741,18 @@
this.localuse.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.localuse.UseVisualStyleBackColor = true;
//
// iosPatchCheckbox
//
this.iosPatchCheckbox.Image = global::NUS_Downloader.Properties.Resources.bug_add;
this.iosPatchCheckbox.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.iosPatchCheckbox.Location = new System.Drawing.Point(12, 488);
this.iosPatchCheckbox.Name = "iosPatchCheckbox";
this.iosPatchCheckbox.Size = new System.Drawing.Size(104, 24);
this.iosPatchCheckbox.TabIndex = 54;
this.iosPatchCheckbox.Text = "Patch IOS...";
this.iosPatchCheckbox.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.iosPatchCheckbox.UseVisualStyleBackColor = true;
//
// titleversion
//
this.titleversion.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
@ -778,7 +789,9 @@
//
// Form1
//
this.ClientSize = new System.Drawing.Size(274, 491);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(274, 516);
this.Controls.Add(this.iosPatchCheckbox);
this.Controls.Add(this.ProxyVerifyBox);
this.Controls.Add(this.proxyBox);
this.Controls.Add(this.scriptsbutton);
@ -801,8 +814,6 @@
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(280, 519);
this.MinimumSize = new System.Drawing.Size(280, 519);
this.Name = "Form1";
this.Text = "NUSD";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
@ -895,6 +906,7 @@
private System.Windows.Forms.Button SaveProxyPwdPermanentBtn;
private System.Windows.Forms.CheckBox keepenccontents;
private System.Windows.Forms.Button saveaswadbtn;
private System.Windows.Forms.CheckBox iosPatchCheckbox;
}
}

View File

@ -160,16 +160,15 @@ namespace NUS_Downloader
{
this.Font = new System.Drawing.Font("Tahoma", 8);
InitializeComponent();
this.MaximumSize = this.MinimumSize = this.Size; // Lock size down PATCHOW :D
if (Type.GetType("Mono.Runtime") != null)
{
saveaswadbtn.Text = "Save As";
clearButton.Text = "Clear";
keepenccontents.Text = "Keep Enc. Contents";
clearButton.Left -= 41;
}
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);
NTSCMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);
PALMassUpdate.DropDownItemClicked += new ToolStripItemClickedEventHandler(upditem_itemclicked);