Beispiel #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     if (Manager == null)
     {
         Manager = new Layers_Manager();
     }
     Manager.G           = PanelProjection.CreateGraphics();
     Manager.Height      = PanelProjection.Size.Height;
     Manager.Width       = PanelProjection.Size.Width;
     InputSlotExsistence = false;
     DrawingThread       = new Thread(new ThreadStart(Manager.Draw));
 }
Beispiel #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            if (DrawingThread.IsAlive)
            {
                DrawingThread.Abort();
            }
            Manager = new Layers_Manager();
            if (Debugger_Ref != null)
            {
                Debugger_Ref.LBTrace.Items.Clear();
                Manager.DynamicDebugger = Debugger_Ref;
            }
            Manager.G           = PanelProjection.CreateGraphics();
            Manager.Height      = PanelProjection.Size.Height;
            Manager.Width       = PanelProjection.Size.Width;
            InputSlotExsistence = false;
            DrawingThread       = new Thread(new ThreadStart(Manager.Draw));

            GBLayerOptions.Enabled = true;
            NUDInputSlot.Enabled   = true;
            BtnInputLayer.Enabled  = true;
            DrawingThread.Start();//Draw Network
        }
Beispiel #3
0
 private void BtnCLose_Click(object sender, EventArgs e)
 {
     Manager = null;
     this.Close();
 }