Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using adflyhlp.My;
- using Microsoft.VisualBasic.CompilerServices;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.IO;
- using System.Runtime.CompilerServices;
- using System.Threading;
- using System.Windows.Forms;
- namespace adflyhlp
- {
- [DesignerGenerated]
- public sealed class AboutBox2 : Form
- {
- private static List<WeakReference> __ENCList = new List<WeakReference>();
- [AccessedThroughProperty("TableLayoutPanel")]
- private TableLayoutPanel _TableLayoutPanel;
- [AccessedThroughProperty("LogoPictureBox")]
- private PictureBox _LogoPictureBox;
- [AccessedThroughProperty("LabelProductName")]
- private Label _LabelProductName;
- [AccessedThroughProperty("LabelVersion")]
- private Label _LabelVersion;
- [AccessedThroughProperty("LabelCompanyName")]
- private Label _LabelCompanyName;
- [AccessedThroughProperty("TextBoxDescription")]
- private TextBox _TextBoxDescription;
- [AccessedThroughProperty("OKButton")]
- private Button _OKButton;
- [AccessedThroughProperty("LabelCopyright")]
- private Label _LabelCopyright;
- private IContainer components;
- internal virtual TableLayoutPanel TableLayoutPanel
- {
- [DebuggerNonUserCode] get
- {
- return this._TableLayoutPanel;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- this._TableLayoutPanel = value;
- }
- }
- internal virtual PictureBox LogoPictureBox
- {
- [DebuggerNonUserCode] get
- {
- return this._LogoPictureBox;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.LogoPictureBox_Click);
- if (this._LogoPictureBox != null)
- this._LogoPictureBox.Click -= eventHandler;
- this._LogoPictureBox = value;
- if (this._LogoPictureBox == null)
- return;
- this._LogoPictureBox.Click += eventHandler;
- }
- }
- internal virtual Label LabelProductName
- {
- [DebuggerNonUserCode] get
- {
- return this._LabelProductName;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.LabelProductName_Click);
- if (this._LabelProductName != null)
- this._LabelProductName.Click -= eventHandler;
- this._LabelProductName = value;
- if (this._LabelProductName == null)
- return;
- this._LabelProductName.Click += eventHandler;
- }
- }
- internal virtual Label LabelVersion
- {
- [DebuggerNonUserCode] get
- {
- return this._LabelVersion;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- this._LabelVersion = value;
- }
- }
- internal virtual Label LabelCompanyName
- {
- [DebuggerNonUserCode] get
- {
- return this._LabelCompanyName;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- this._LabelCompanyName = value;
- }
- }
- internal virtual TextBox TextBoxDescription
- {
- [DebuggerNonUserCode] get
- {
- return this._TextBoxDescription;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.TextBoxDescription_TextChanged);
- if (this._TextBoxDescription != null)
- this._TextBoxDescription.TextChanged -= eventHandler;
- this._TextBoxDescription = value;
- if (this._TextBoxDescription == null)
- return;
- this._TextBoxDescription.TextChanged += eventHandler;
- }
- }
- internal virtual Button OKButton
- {
- [DebuggerNonUserCode] get
- {
- return this._OKButton;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.OKButton_Click);
- if (this._OKButton != null)
- this._OKButton.Click -= eventHandler;
- this._OKButton = value;
- if (this._OKButton == null)
- return;
- this._OKButton.Click += eventHandler;
- }
- }
- internal virtual Label LabelCopyright
- {
- [DebuggerNonUserCode] get
- {
- return this._LabelCopyright;
- }
- [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
- {
- EventHandler eventHandler = new EventHandler(this.LabelCopyright_Click);
- if (this._LabelCopyright != null)
- this._LabelCopyright.Click -= eventHandler;
- this._LabelCopyright = value;
- if (this._LabelCopyright == null)
- return;
- this._LabelCopyright.Click += eventHandler;
- }
- }
- [DebuggerNonUserCode]
- static AboutBox2()
- {
- }
- [DebuggerNonUserCode]
- public AboutBox2()
- {
- this.Load += new EventHandler(this.AboutBox2_Load);
- AboutBox2.__ENCAddToList((object) this);
- this.InitializeComponent();
- }
- [DebuggerNonUserCode]
- private static void __ENCAddToList(object value)
- {
- List<WeakReference> list = AboutBox2.__ENCList;
- Monitor.Enter((object) list);
- try
- {
- if (AboutBox2.__ENCList.Count == AboutBox2.__ENCList.Capacity)
- {
- int index1 = 0;
- int num1 = 0;
- int num2 = checked (AboutBox2.__ENCList.Count - 1);
- int index2 = num1;
- while (index2 <= num2)
- {
- if (AboutBox2.__ENCList[index2].IsAlive)
- {
- if (index2 != index1)
- AboutBox2.__ENCList[index1] = AboutBox2.__ENCList[index2];
- checked { ++index1; }
- }
- checked { ++index2; }
- }
- AboutBox2.__ENCList.RemoveRange(index1, checked (AboutBox2.__ENCList.Count - index1));
- AboutBox2.__ENCList.Capacity = AboutBox2.__ENCList.Count;
- }
- AboutBox2.__ENCList.Add(new WeakReference(RuntimeHelpers.GetObjectValue(value)));
- }
- finally
- {
- Monitor.Exit((object) list);
- }
- }
- [DebuggerNonUserCode]
- protected override void Dispose(bool disposing)
- {
- try
- {
- if ((!disposing || this.components == null) && !false)
- return;
- this.components.Dispose();
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
- [DebuggerStepThrough]
- private void InitializeComponent()
- {
- ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (AboutBox2));
- this.TableLayoutPanel = new TableLayoutPanel();
- this.LogoPictureBox = new PictureBox();
- this.LabelProductName = new Label();
- this.LabelVersion = new Label();
- this.LabelCopyright = new Label();
- this.LabelCompanyName = new Label();
- this.TextBoxDescription = new TextBox();
- this.OKButton = new Button();
- this.TableLayoutPanel.SuspendLayout();
- this.LogoPictureBox.BeginInit();
- this.SuspendLayout();
- this.TableLayoutPanel.ColumnCount = 2;
- this.TableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33f));
- this.TableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 67f));
- this.TableLayoutPanel.Controls.Add((Control) this.LogoPictureBox, 0, 0);
- this.TableLayoutPanel.Controls.Add((Control) this.LabelProductName, 1, 0);
- this.TableLayoutPanel.Controls.Add((Control) this.LabelVersion, 1, 1);
- this.TableLayoutPanel.Controls.Add((Control) this.LabelCopyright, 1, 2);
- this.TableLayoutPanel.Controls.Add((Control) this.LabelCompanyName, 1, 3);
- this.TableLayoutPanel.Controls.Add((Control) this.TextBoxDescription, 1, 4);
- this.TableLayoutPanel.Controls.Add((Control) this.OKButton, 1, 5);
- this.TableLayoutPanel.Dock = DockStyle.Fill;
- TableLayoutPanel tableLayoutPanel1 = this.TableLayoutPanel;
- Point point1 = new Point(9, 9);
- Point point2 = point1;
- tableLayoutPanel1.Location = point2;
- this.TableLayoutPanel.Name = "TableLayoutPanel";
- this.TableLayoutPanel.RowCount = 6;
- this.TableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10f));
- this.TableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10f));
- this.TableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 9.748427f));
- this.TableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 6.918239f));
- this.TableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 52.83019f));
- this.TableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10f));
- TableLayoutPanel tableLayoutPanel2 = this.TableLayoutPanel;
- Size size1 = new Size(566, 250);
- Size size2 = size1;
- tableLayoutPanel2.Size = size2;
- this.TableLayoutPanel.TabIndex = 0;
- this.LogoPictureBox.Cursor = Cursors.Hand;
- this.LogoPictureBox.Dock = DockStyle.Fill;
- this.LogoPictureBox.Image = (Image) componentResourceManager.GetObject("LogoPictureBox.Image");
- PictureBox logoPictureBox1 = this.LogoPictureBox;
- point1 = new Point(3, 3);
- Point point3 = point1;
- logoPictureBox1.Location = point3;
- this.LogoPictureBox.Name = "LogoPictureBox";
- this.TableLayoutPanel.SetRowSpan((Control) this.LogoPictureBox, 6);
- PictureBox logoPictureBox2 = this.LogoPictureBox;
- size1 = new Size(180, 244);
- Size size3 = size1;
- logoPictureBox2.Size = size3;
- this.LogoPictureBox.SizeMode = PictureBoxSizeMode.StretchImage;
- this.LogoPictureBox.TabIndex = 0;
- this.LogoPictureBox.TabStop = false;
- this.LabelProductName.Dock = DockStyle.Fill;
- Label labelProductName1 = this.LabelProductName;
- point1 = new Point(192, 0);
- Point point4 = point1;
- labelProductName1.Location = point4;
- Label labelProductName2 = this.LabelProductName;
- Padding padding1 = new Padding(6, 0, 3, 0);
- Padding padding2 = padding1;
- labelProductName2.Margin = padding2;
- Label labelProductName3 = this.LabelProductName;
- size1 = new Size(0, 17);
- Size size4 = size1;
- labelProductName3.MaximumSize = size4;
- this.LabelProductName.Name = "LabelProductName";
- Label labelProductName4 = this.LabelProductName;
- size1 = new Size(371, 17);
- Size size5 = size1;
- labelProductName4.Size = size5;
- this.LabelProductName.TabIndex = 0;
- this.LabelProductName.Text = "adfly link helper";
- this.LabelProductName.TextAlign = ContentAlignment.MiddleLeft;
- this.LabelVersion.Dock = DockStyle.Fill;
- Label labelVersion1 = this.LabelVersion;
- point1 = new Point(192, 25);
- Point point5 = point1;
- labelVersion1.Location = point5;
- Label labelVersion2 = this.LabelVersion;
- padding1 = new Padding(6, 0, 3, 0);
- Padding padding3 = padding1;
- labelVersion2.Margin = padding3;
- Label labelVersion3 = this.LabelVersion;
- size1 = new Size(0, 17);
- Size size6 = size1;
- labelVersion3.MaximumSize = size6;
- this.LabelVersion.Name = "LabelVersion";
- Label labelVersion4 = this.LabelVersion;
- size1 = new Size(371, 17);
- Size size7 = size1;
- labelVersion4.Size = size7;
- this.LabelVersion.TabIndex = 0;
- this.LabelVersion.Text = "ver 1.02";
- this.LabelVersion.TextAlign = ContentAlignment.MiddleLeft;
- this.LabelCopyright.Dock = DockStyle.Fill;
- Label labelCopyright1 = this.LabelCopyright;
- point1 = new Point(192, 50);
- Point point6 = point1;
- labelCopyright1.Location = point6;
- Label labelCopyright2 = this.LabelCopyright;
- padding1 = new Padding(6, 0, 3, 0);
- Padding padding4 = padding1;
- labelCopyright2.Margin = padding4;
- Label labelCopyright3 = this.LabelCopyright;
- size1 = new Size(0, 17);
- Size size8 = size1;
- labelCopyright3.MaximumSize = size8;
- this.LabelCopyright.Name = "LabelCopyright";
- Label labelCopyright4 = this.LabelCopyright;
- size1 = new Size(371, 17);
- Size size9 = size1;
- labelCopyright4.Size = size9;
- this.LabelCopyright.TabIndex = 0;
- this.LabelCopyright.Text = " © Crazy52, 2011 do not modify or re-upload this software";
- this.LabelCopyright.TextAlign = ContentAlignment.MiddleLeft;
- this.LabelCompanyName.Dock = DockStyle.Fill;
- Label labelCompanyName1 = this.LabelCompanyName;
- point1 = new Point(192, 74);
- Point point7 = point1;
- labelCompanyName1.Location = point7;
- Label labelCompanyName2 = this.LabelCompanyName;
- padding1 = new Padding(6, 0, 3, 0);
- Padding padding5 = padding1;
- labelCompanyName2.Margin = padding5;
- Label labelCompanyName3 = this.LabelCompanyName;
- size1 = new Size(0, 17);
- Size size10 = size1;
- labelCompanyName3.MaximumSize = size10;
- this.LabelCompanyName.Name = "LabelCompanyName";
- Label labelCompanyName4 = this.LabelCompanyName;
- size1 = new Size(371, 17);
- Size size11 = size1;
- labelCompanyName4.Size = size11;
- this.LabelCompanyName.TabIndex = 0;
- this.LabelCompanyName.TextAlign = ContentAlignment.MiddleLeft;
- this.TextBoxDescription.Dock = DockStyle.Fill;
- TextBox textBoxDescription1 = this.TextBoxDescription;
- point1 = new Point(192, 94);
- Point point8 = point1;
- textBoxDescription1.Location = point8;
- TextBox textBoxDescription2 = this.TextBoxDescription;
- padding1 = new Padding(6, 3, 3, 3);
- Padding padding6 = padding1;
- textBoxDescription2.Margin = padding6;
- this.TextBoxDescription.Multiline = true;
- this.TextBoxDescription.Name = "TextBoxDescription";
- this.TextBoxDescription.ReadOnly = true;
- this.TextBoxDescription.ScrollBars = ScrollBars.Both;
- TextBox textBoxDescription3 = this.TextBoxDescription;
- size1 = new Size(371, 126);
- Size size12 = size1;
- textBoxDescription3.Size = size12;
- this.TextBoxDescription.TabIndex = 0;
- this.TextBoxDescription.TabStop = false;
- this.TextBoxDescription.Text = "quick program to help people make links with adfly.\r\n\r\nadded: Twitter support.\r\nadded: Pastebin support\r\n\r\nCredit: \r\nmain program - Crazy52\r\npastebin addon - DNS\r\nprogram tester - Cojoe";
- this.OKButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
- this.OKButton.DialogResult = DialogResult.Cancel;
- Button okButton1 = this.OKButton;
- point1 = new Point(488, 226);
- Point point9 = point1;
- okButton1.Location = point9;
- this.OKButton.Name = "OKButton";
- Button okButton2 = this.OKButton;
- size1 = new Size(75, 21);
- Size size13 = size1;
- okButton2.Size = size13;
- this.OKButton.TabIndex = 0;
- this.OKButton.Text = "&OK";
- this.AutoScaleDimensions = new SizeF(6f, 13f);
- this.AutoScaleMode = AutoScaleMode.Font;
- this.CancelButton = (IButtonControl) this.OKButton;
- AboutBox2 aboutBox2_1 = this;
- size1 = new Size(584, 268);
- Size size14 = size1;
- aboutBox2_1.ClientSize = size14;
- this.Controls.Add((Control) this.TableLayoutPanel);
- this.FormBorderStyle = FormBorderStyle.FixedDialog;
- this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "AboutBox2";
- AboutBox2 aboutBox2_2 = this;
- padding1 = new Padding(9);
- Padding padding7 = padding1;
- aboutBox2_2.Padding = padding7;
- this.ShowInTaskbar = false;
- this.StartPosition = FormStartPosition.CenterParent;
- this.Text = "About";
- this.TableLayoutPanel.ResumeLayout(false);
- this.TableLayoutPanel.PerformLayout();
- this.LogoPictureBox.EndInit();
- this.ResumeLayout(false);
- }
- [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
- private void AboutBox2_Load(object sender, EventArgs e)
- {
- this.Text = string.Format("About {0}", Operators.CompareString(MyProject.Application.Info.Title, "", false) == 0 ? (object) Path.GetFileNameWithoutExtension(MyProject.Application.Info.AssemblyName) : (object) MyProject.Application.Info.Title);
- this.LabelProductName.Text = MyProject.Application.Info.ProductName;
- this.LabelVersion.Text = string.Format("Version {0}", (object) MyProject.Application.Info.Version.ToString());
- this.LabelCopyright.Text = MyProject.Application.Info.Copyright;
- this.LabelCompanyName.Text = MyProject.Application.Info.CompanyName;
- this.TextBoxDescription.Text = MyProject.Application.Info.Description;
- }
- private void OKButton_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- private void LabelProductName_Click(object sender, EventArgs e)
- {
- }
- private void LabelCopyright_Click(object sender, EventArgs e)
- {
- }
- private void LogoPictureBox_Click(object sender, EventArgs e)
- {
- Process.Start("http://adf.ly/?id=806423");
- }
- private void TextBoxDescription_TextChanged(object sender, EventArgs e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement