Init() публичный Метод

public Init ( Device d, TreeView tv ) : void
d Device
tv System.Windows.Forms.TreeView
Результат void
Пример #1
0
 private void unloadAllToolStripMenuItem_Click(object sender, EventArgs e)
 {
     timer1.Enabled = false;
     SceneMan       = new SceneManager();
     SceneMan.Init(SceneMan.CreateView(p1), tv1);
     timer1.Enabled = true;
 }
Пример #2
0
 private void Leveleditor_Activated(object sender, EventArgs e)
 {
     toolStripComboBox1.Items.Clear();
     toolStripComboBox1.Items.Add("100");
     toolStripComboBox1.Items.Add("200");
     toolStripComboBox1.Items.Add("500");
     toolStripComboBox1.Items.Add("1000");
     toolStripComboBox1.Items.Add("2000");
     toolStripComboBox1.Items.Add("5000");
     toolStripComboBox1.Items.Add("10000");
     toolStripComboBox1.SelectedIndex = 6;
     SceneMan = new SceneManager();
     SceneMan.Init(SceneMan.CreateView(p1), tv1);
     timer1.Enabled = true;
 }
Пример #3
0
 private void Leveleditor_Activated(object sender, EventArgs e)
 {
     SceneMan = new SceneManager();
     SceneMan.Init(SceneMan.CreateView(p1), tv1);
     timer1.Enabled = true;
     toolStripComboBox1.Items.Clear();
     toolStripComboBox1.Items.Add("100");
     toolStripComboBox1.Items.Add("200");
     toolStripComboBox1.Items.Add("500");
     toolStripComboBox1.Items.Add("1000");
     toolStripComboBox1.Items.Add("2000");
     toolStripComboBox1.Items.Add("5000");
     toolStripComboBox1.Items.Add("10000");
     toolStripComboBox1.SelectedIndex = 0;
 }
Пример #4
0
 private void unloadAllToolStripMenuItem_Click(object sender, EventArgs e)
 {
     timer1.Enabled = false;
     SceneMan = new SceneManager();
     SceneMan.Init(SceneMan.CreateView(p1), tv1);
     timer1.Enabled = true;
 }