Esempio n. 1
0
        private static void Main()
        {
            FM_Client_Controller control = new FM_Client_Controller();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            control.init();
            Application.Run(control._gui);
        }
Esempio n. 2
0
 public FM_Client_GUI(FM_Client_Controller controller)
 {
     this._controller = controller;
     InitializeComponent();
     foreach (Panel p in this.Controls.OfType <Panel>())
     {
         if (p.Name.Contains("_"))
         {
             if (p.Name.Contains("result"))
             {
                 _myResultPanels.Add(p);
             }
             else
             {
                 _myPanels.Add(p);
             }
         }
     }
     init();
 }