private void closeToolStripMenuItem_Click(object sender, EventArgs e) { Skin.SetSkinName(""); result.Text = ""; Form frm2 = new Form2(); frm2.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { try { Skin.SetSkinName(listBox1.SelectedItem.ToString()); formm1.load_(); this.Hide(); } catch (Exception ex) { // error } }
private void button1_Click(object sender, EventArgs e) { if (textBox1.Text != "") { string path_ = AppDomain.CurrentDomain.BaseDirectory + "SkinOutput\\" + textBox1.Text; if (!Directory.Exists(path_)) { Skin.SetSkinName(textBox1.Text); formm1.load_(); this.Hide(); } else { MessageBox.Show("Nama Skin sudah ada !", "Info", MessageBoxButtons.OK, MessageBoxIcon.Information); textBox1.Focus(); textBox1.SelectAll(); } } else { textBox1.Focus(); } }