예제 #1
0
 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
     {
         //
     }
 }
예제 #2
0
 private void Button17_Click(object sender, EventArgs e)
 {
     if (button17.Cursor == Cursors.Hand)
     {
         button17.Cursor = Cursors.No;
         ClipBoard.CopyText(textBox13.Text, false);
     }
 }
예제 #3
0
 private void CYB_Click(object sender, EventArgs e)
 {
     try
     {
         if (ClipBoard.GetText() != URTB.Text)
         {
             ClipBoard.CopyText(URTB.Text);
             URTB.Focus();
         }
     }
     catch
     {
         //
     }
 }
예제 #4
0
파일: PWD.cs 프로젝트: mericbozkurt/Nerator
 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!";
         }
     }
 }
예제 #5
0
 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);
     }
 }
예제 #6
0
 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!";
         }
     }
 }
예제 #7
0
파일: EX.cs 프로젝트: mericbozkurt/Nerator
 private void Copy_B_Click(object sender, EventArgs e)
 {
     ClipBoard.CopyText(Password.Text, true);
     Password.Focus();
 }