Esempio n. 1
0
        private void frmTextToImage_Load(object sender, EventArgs e)
        {
            objCS = new CommonCalls();
            if (p.Equals("Decryption"))
            {
                btnOperation.Text = "Decrypt";
                this.Controls.Remove(txtConfirmPassword);
                this.Controls.Remove(lblConfirmPassword);
                txtText.Location      = new Point(txtText.Location.X, 79);
                lblText.Location      = new Point(lblText.Location.X, lblText.Location.Y - 30);
                btnOperation.Location = new Point(btnOperation.Location.X, btnOperation.Location.Y - 32);
                btnReset.Location     = new Point(btnReset.Location.X, btnOperation.Location.Y);

                btnMainWindow.Location = new Point(btnMainWindow.Location.X, btnOperation.Location.Y);
                this.Height            = this.Height - 32;
            }
            btnOperation.NotifyDefault(true);
        }
Esempio n. 2
0
 private void frmMainForm_Load(object sender, EventArgs e)
 {
     objCS = new CommonCalls();
 }