Ejemplo n.º 1
0
        private void btBack_Click(object sender, EventArgs e)
        {
            NavigationForm navigationForm = new NavigationForm();

            navigationForm.Show();
            this.Hide();
        }
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form mainFrom = new NavigationForm();

            mainFrom.FormBorderStyle = FormBorderStyle.FixedSingle;
            Application.Run(mainFrom);
        }
Ejemplo n.º 3
0
    public MainWindow(
        IProjectController projectController,
        IDizAppSettings appSettings,
        IDizDocument document)
    {
        Document                      = document;
        this.appSettings              = appSettings;
        ProjectController             = projectController;
        ProjectController.ProjectView = this;

        AliasList = projectController.ViewFactory.GetLabelEditorView();
        AliasList.ProjectController = ProjectController;

        Document.PropertyChanged         += Document_PropertyChanged;
        ProjectController.ProjectChanged += ProjectController_ProjectChanged;

        NavigationForm = new NavigationForm
        {
            Document       = Document,
            SnesNavigation = this,
        };

        InitializeComponent();
    }