예제 #1
0
        void lightListClick(object sender, EventArgs e)
        {
            if (listBox1.SelectedItem == null)
            {
                return;
            }

            World.VisualLightEntry  vse = listBox1.SelectedItem as World.VisualLightEntry;
            UI.Dialogs.LightCreator lc  = UI.Dialogs.LightCreator.InitFromExistingLight(vse.Entry);
            lc.ShowDialog();
        }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     UI.Dialogs.LightCreator lc = new UI.Dialogs.LightCreator();
     lc.ShowDialog();
 }
예제 #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     UI.Dialogs.LightCreator lc = new UI.Dialogs.LightCreator();
     lc.ShowDialog();
 }