Example #1
0
 public MainForm()
 {
     InitializeComponent();
     Text = DEFAULT_PRODUCT_NAME;
     MainFormController controller = new MainFormController();
     controller.FormStateChanged += new Action<MainFormState>(formStateChanged);
 }
Example #2
0
        public MainForm()
        {
            InitializeComponent();
            Text = DEFAULT_PRODUCT_NAME;
            MainFormController controller = new MainFormController();

            controller.FormStateChanged += new Action <MainFormState>(formStateChanged);
        }