コード例 #1
0
        // Token: 0x060004DF RID: 1247 RVA: 0x00023144 File Offset: 0x00021344
        protected override void SetStyleToForm(object style)
        {
            var cpicasaUploaderStyleItem = (CPicasaUploaderStyleItem)style;

            InitializeComponent();
            Text = cpicasaUploaderStyleItem.GetDisplayName();
            string text2;
            var    text = text2 = "";

            if (cpicasaUploaderStyleItem.ID.Length > 0)
            {
                text2 = PicasaBar.Decrypto(cpicasaUploaderStyleItem.ID);
            }
            if (cpicasaUploaderStyleItem.Pass.Length > 0)
            {
                text = PicasaBar.Decrypto(cpicasaUploaderStyleItem.Pass);
            }
            txtID.Text              = text2;
            txtPass.Text            = text;
            comboBox1.SelectedIndex = cpicasaUploaderStyleItem.Manage;
        }
コード例 #2
0
        protected override void SetStyleToForm(object style)
        {
            string str2;
            CPicasaUploaderStyleItem item = (CPicasaUploaderStyleItem)style;

            this.InitializeComponent();
            this.Text = item.GetDisplayName();
            string str = str2 = "";

            if (item.ID.Length > 0)
            {
                str = PicasaBar.Decrypto(item.ID);
            }
            if (item.Pass.Length > 0)
            {
                str2 = PicasaBar.Decrypto(item.Pass);
            }
            this.txtID.Text              = str;
            this.txtPass.Text            = str2;
            this.comboBox1.SelectedIndex = item.Manage;
        }