(Post was originaly posted in an XBOX forum - No help.)
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 Xbox_Live_Bio_Template
{
public partial class Form1 : Form
{
string a = "╋";
string b = "━";
string c = "┃";
string d = "┏";
string l = "┓";
string f = "┗";
string g = "┛";
string h = "┣";
string i = "┫";
string j = "┳";
string k = "┻";
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
textBox1.Text = a.ToString();
}
private void button2_Click(object sender, EventArgs e)
{
textBox1.Text = b.ToString();
}
private void button3_Click(object sender, EventArgs e)
{
textBox1.Text = c.ToString();
}
private void button11_Click(object sender, EventArgs e)
{
textBox1.Text = k.ToString();
}
private void button10_Click(object sender, EventArgs e)
{
textBox1.Text = j.ToString();
}
private void button9_Click(object sender, EventArgs e)
{
textBox1.Text = i.ToString();
}
private void button8_Click(object sender, EventArgs e)
{
textBox1.Text = h.ToString();
}
private void button7_Click(object sender, EventArgs e)
{
textBox1.Text = g.ToString();
}
private void button6_Click(object sender, EventArgs e)
{
textBox1.Text = f.ToString();
}
private void button5_Click(object sender, EventArgs e)
{
textBox1.Text = l.ToString();
}
private void button4_Click(object sender, EventArgs e)
{
textBox1.Text = d.ToString();
}
private void textBox2_TextChanged(object sender, EventArgs e)
{
}
}
}
That is my code. My bio creater so far :
[img]http://i15.photobucket.com/albums/a389/bullzeye10/lol.png[/img]
I have loads of text boxes (coloured blue) and some buttons. Right now if i click a button it only assigns the frame to textbox1. How do i make it assign to the box that my cursor is on (when i click the box)
I am currently working on a Xbox Live Bio Creator and i need help. I am not making one to compete with anyone, it is only for practice as i have always wanted to learn how to use C/C++/C#.
The program in the end will be released as a free program.
The reason that i am making a bio creator is that the one that i have now requires me to copy/paste each unicode character to a box while i want a button for ease of use.
Thanks.
(Post was originaly posted in an XBOX forum - No help.)