Esempio n. 1
0
        public Form_Decrypt(Form_Welcome frm_main)
        {
            InitializeComponent();

            height_expanded = this.Size.Height;
            set_anchor_top();
            this.MinimumSize = new Size(this.MinimumSize.Width, 652);
            this.Size        = new Size(this.Size.Width, this.Size.Height - 120);
            set_anchor_nontop();

            this.frm_main = frm_main; // For access to Donation Adresses

            camDevices = new CameraDevices();

            resultRectPen = new Pen(Color.Green, 10);

            // Load ComboBox with Coins from Enum
            cbCoin_Donate.DataSource    = Enum.GetValues(typeof(Coin));
            cbCoin_Donate.SelectedIndex = 0;
        }
Esempio n. 2
0
 private void btnReffresh_Cam_Click(object sender, EventArgs e)
 {
     close_webcam();
     camDevices = new CameraDevices();
     LoadDevicesToCombobox();
 }