private void DisplayID_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)13) { AddCombo_Click(sender, e); DisplayID.Clear(); } }
public string GetString() { return(ComputerID.ToString() + "," + CpuID.ToString() + "," + RamID.ToString() + "," + HardDriveID.ToString() + "," + DisplayID.ToString() + "," + OsID.ToString()); }
private void GeosetDecryptor_Load(object sender, EventArgs e) { addColorText(ResultBox, Color.Red, "Root File Status : OK"); gridSkin.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; this.Select(); this.Activate(); DisplayID.Select(); DisplayID.Focus(); }
public override int GetHashCode() { var hashCode = -2141251448; hashCode = hashCode * -1521134295 + DisplayID.GetHashCode(); hashCode = hashCode * -1521134295 + DisplayKey.GetHashCode(); hashCode = hashCode * -1521134295 + DisplayCreator.GetHashCode(); return(hashCode); }
private void AddCombo_Click(object sender, EventArgs e) { if (Regex.Match(DisplayID.Text.Trim(), "^[0-9]+$").Success) { LstSearch.Items.Add("Display ID : " + DisplayID.Text.Trim()); LstSearch.SelectedIndex = LstSearch.FindStringExact("Display ID : " + DisplayID.Text.Trim()); addColorText(ResultBox, Color.Blue, "DisplayID Added to Decrypt List : " + LstSearch.SelectedItem.ToString().Split(':')[1].Trim()); } else { Utils.Show("Enter a DisplayID please", "Error", 2000); DisplayID.Clear(); } }