private void CYB_Click(object sender, EventArgs e) { try { if (TACB.SelectedItem.ToString() == "RGB") { if (ClipBoard.GetText() != CHTB.Text) { ClipBoard.CopyText(CHTB.Text); CHTB.Focus(); } } else { if (ClipBoard.GetText() != CRTB.Text + ", " + CGTB.Text + ", " + CBTB.Text) { ClipBoard.CopyText(CRTB.Text + ", " + CGTB.Text + ", " + CBTB.Text); CGTB.Focus(); } } } catch { // } }
private void Button17_Click(object sender, EventArgs e) { if (button17.Cursor == Cursors.Hand) { button17.Cursor = Cursors.No; ClipBoard.CopyText(textBox13.Text, false); } }
private void CYB_Click(object sender, EventArgs e) { try { if (ClipBoard.GetText() != URTB.Text) { ClipBoard.CopyText(URTB.Text); URTB.Focus(); } } catch { // } }
private void COPY_Click(object sender, EventArgs e) { if (ClipBoard.GetText() != PASSWORD.Text) { ClipBoard.CopyText(PASSWORD.Text, true); if (PASSWORD.Text == ClipBoard.GetText()) { Status.Message = PASSWORD.Text + " copied!"; } else { Status.Message = PASSWORD.Text + " could not be copied!"; } } }
private void Button14_Click(object sender, EventArgs e) { try { if (button14.Cursor == Cursors.Hand) { button14.Cursor = Cursors.No; ClipBoard.CopyText(textBox12.Text, false); } } catch (Exception Ex) { MessageBox.Show(Ex.Message); } }
private void CYB_Click(object sender, EventArgs e) { if (PWDTB.Text != Clipboard.GetText()) { ClipBoard.CopyText(PWDTB.Text, true); if (PWDTB.Text == Clipboard.GetText()) { Status.Message = "Generated password copied successfully!"; PWDTB.Focus(); } else { Status.Message = "Failed to copy the generated password!"; } } }
private void Copy_B_Click(object sender, EventArgs e) { ClipBoard.CopyText(Password.Text, true); Password.Focus(); }