private void button6_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = "Server = changan; DataBase = s3design_rtm; Uid = sa; Password = 123;"; if (isi == null) { isi = new IconSelector.Implement(); isi.Init(conn, @"D:\Kingsoft\sword3-products\trunk\client\ui\Image\icon\"); } isi.IconID = 12; int ret = isi.Show(); MessageBox.Show(ret.ToString()); }
private void button5_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = "Server = changan; DataBase = s3design_rtm; Uid = sa; Password = ddd12345678;"; if(isi == null) { isi = new IconSelector.Implement(); isi.Init(conn, @"D:\Kingsoft\sword3-products\trunk\client\ui\Image\icon\"); } isi.IconID = 12; /* de.showEdit( "道具名称", 2, false, 100, 2, 3, 50, "<Text>text=\"使用:在收割过的稻田里寻找稻梗。不管不管我不管" + @"\\\n" + "\" font=105 </text><Text>text=\"小心,不要碰到前面的部分……\" font=100 </text>", true, 12035,2,isi,conn, @"D:\Kingsoft\sword3-products\trunk\client\ui\Image\icon\" ); * */ MessageBox.Show(descHelper.itemProp.iName); }
private void button5_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = "Server = changan; DataBase = s3design_rtm; Uid = sa; Password = ddd12345678;"; if (isi == null) { isi = new IconSelector.Implement(); isi.Init(conn, @"D:\Kingsoft\sword3-products\trunk\client\ui\Image\icon\"); } isi.IconID = 12; /* * de.showEdit( * "道具名称", 2, false, 100, * 2, 3, * 50, * "<Text>text=\"使用:在收割过的稻田里寻找稻梗。不管不管我不管" + @"\\\n" + "\" font=105 </text><Text>text=\"小心,不要碰到前面的部分……\" font=100 </text>", * true, 12035,2,isi,conn, @"D:\Kingsoft\sword3-products\trunk\client\ui\Image\icon\" * ); * */ MessageBox.Show(descHelper.itemProp.iName); }
private void button6_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = "Server = changan; DataBase = s3design_rtm; Uid = sa; Password = 123;"; if (isi == null) { isi = new IconSelector.Implement(); isi.Init(conn, @"D:\Kingsoft\sword3-products\trunk\client\ui\Image\icon\"); } isi.IconID = 12; int ret = isi.Show(); MessageBox.Show(ret.ToString()); }