Example #1
0
    public MainWindow() : base(Gtk.WindowType.Toplevel)
    {
        Build();
        // Create the Controller
        _controller = new ExtractWizard.Controller.MainForm(this);

        _controller.IntializeView();
    }
Example #2
0
        public MainForm()
        {
            InitializeComponent();

            // Create the Gateway to this View
            MainFormGateway gateway = new MainFormGateway(this);

            // Create the Controller
            _controller = new Controller.MainForm(gateway);
        }