using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication8 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { String cbtext = textBox1.Text; Clipboard.SetText(cbtext); } } }
csharp tutorials free for beginner and expert willing to work with social networking API programming.
C sharp windows clipboard text
How to get text from windows clipboard in windows form application
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
String cbtext = Clipboard.GetText();
label2.Text = cbtext;
}
}
}
Subscribe to:
Posts (Atom)
Sending SMS Via Windows Form Application Using any Android Smart Phone Source Code using System ; using System . C...
-
In this tutorial I will be showing you how you would go about controlling your system volume in C#. The reason for this tutorial is simpl...
-
Using C# Program you can control usb ports in system . if you want to disable All ports of your system you can use the following program ...
-
using Finisar.SQLite; private void SetConnection() { sql_con = new SQLiteConnection("Data Source=test.db;Version=3;New=False;Comp...