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); }
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(); }