OpenTween.AddAccountDialog.AddAccountDialog C# (CSharp) Method

AddAccountDialog() public method

public AddAccountDialog ( bool onlyConsumer = false ) : System
onlyConsumer bool
return System
        public AddAccountDialog(bool onlyConsumer = false)
        {
            InitializeComponent();
            if (onlyConsumer)
            {
                this.label3.Visible = false;
                this.label4.Visible = false;
                this.textBox3.Visible = false;
                this.textBox4.Visible = false;
                this.Height -= 31;
                this.label5.Visible = true;
            }
            else
            {
                this.label5.Visible = false;
            }
        }