예제 #1
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this._selectMigrationPlan = new VersionMigratorGUI.FileSelectionPane();
			this._selectAssembly = new VersionMigratorGUI.FileSelectionPane();
			this._selectSourceFile = new VersionMigratorGUI.FileSelectionPane();
			this._selectTargetFile = new VersionMigratorGUI.FileSelectionPane();
			this._btnMigrate = new System.Windows.Forms.Button();
			this._dlgSelectAssembly = new System.Windows.Forms.OpenFileDialog();
			this._menu = new System.Windows.Forms.MainMenu();
			this.menuItem1 = new System.Windows.Forms.MenuItem();
			this._miNew = new System.Windows.Forms.MenuItem();
			this._miOpen = new System.Windows.Forms.MenuItem();
			this._miSave = new System.Windows.Forms.MenuItem();
			this._miSaveAs = new System.Windows.Forms.MenuItem();
			this.menuItem6 = new System.Windows.Forms.MenuItem();
			this._miExit = new System.Windows.Forms.MenuItem();
			this._dlgOpen = new System.Windows.Forms.OpenFileDialog();
			this._dlgSave = new System.Windows.Forms.SaveFileDialog();
			this.SuspendLayout();
			// 
			// _selectMigrationPlan
			// 
			this._selectMigrationPlan.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this._selectMigrationPlan.FileMode = VersionMigratorGUI.FileSelectionPaneFileMode.Open;
			this._selectMigrationPlan.FileName = "";
			this._selectMigrationPlan.Filter = "XML Files|*.xml|All Files (*.*)|*.*";
			this._selectMigrationPlan.Label = "Migration Plan";
			this._selectMigrationPlan.Location = new System.Drawing.Point(4, 8);
			this._selectMigrationPlan.Name = "_selectMigrationPlan";
			this._selectMigrationPlan.Size = new System.Drawing.Size(408, 40);
			this._selectMigrationPlan.TabIndex = 0;
			this._selectMigrationPlan.FileNameChanged += new System.EventHandler(this._selectMigrationPlan_FileNameChanged);
			// 
			// _selectAssembly
			// 
			this._selectAssembly.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this._selectAssembly.FileMode = VersionMigratorGUI.FileSelectionPaneFileMode.Open;
			this._selectAssembly.FileName = "";
			this._selectAssembly.Filter = "Libraries (*.dll)|*.dll|Executables (*.exe)|*.exe|All Files (*.*)|*.*";
			this._selectAssembly.Label = "Main Assembly";
			this._selectAssembly.Location = new System.Drawing.Point(4, 56);
			this._selectAssembly.Name = "_selectAssembly";
			this._selectAssembly.Size = new System.Drawing.Size(408, 40);
			this._selectAssembly.TabIndex = 1;
			this._selectAssembly.FileNameChanged += new System.EventHandler(this._selectAssembly_FileNameChanged);
			// 
			// _selectSourceFile
			// 
			this._selectSourceFile.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this._selectSourceFile.FileMode = VersionMigratorGUI.FileSelectionPaneFileMode.Open;
			this._selectSourceFile.FileName = "";
			this._selectSourceFile.Filter = "Bamboo.Prevalence Snapshots|*.snapshot|Data Files (*.dat)|*.dat|All Files (*.*)|*" +
				".*";
			this._selectSourceFile.Label = "Source File";
			this._selectSourceFile.Location = new System.Drawing.Point(4, 104);
			this._selectSourceFile.Name = "_selectSourceFile";
			this._selectSourceFile.Size = new System.Drawing.Size(408, 40);
			this._selectSourceFile.TabIndex = 2;
			this._selectSourceFile.FileNameChanged += new System.EventHandler(this._selectSourceFile_FileNameChanged);
			// 
			// _selectTargetFile
			// 
			this._selectTargetFile.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this._selectTargetFile.FileMode = VersionMigratorGUI.FileSelectionPaneFileMode.Save;
			this._selectTargetFile.FileName = "";
			this._selectTargetFile.Filter = "All Files (*.*)|*.*";
			this._selectTargetFile.Label = "Target File";
			this._selectTargetFile.Location = new System.Drawing.Point(4, 152);
			this._selectTargetFile.Name = "_selectTargetFile";
			this._selectTargetFile.Size = new System.Drawing.Size(408, 40);
			this._selectTargetFile.TabIndex = 3;
			this._selectTargetFile.FileNameChanged += new System.EventHandler(this._selectTargetFile_FileNameChanged);
			// 
			// _btnMigrate
			// 
			this._btnMigrate.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this._btnMigrate.Location = new System.Drawing.Point(160, 200);
			this._btnMigrate.Name = "_btnMigrate";
			this._btnMigrate.TabIndex = 4;
			this._btnMigrate.Text = "Migrate";
			this._btnMigrate.Click += new System.EventHandler(this._btnMigrate_Click);
			// 
			// _dlgSelectAssembly
			// 
			this._dlgSelectAssembly.DefaultExt = "dll";
			this._dlgSelectAssembly.Filter = "Assemblies (*.dll)|*.dll|Assemblies (*.exe)|*.exe|Todos os Arquivos (*.*)|*.*";
			this._dlgSelectAssembly.Title = "Selecione o Assembly";
			// 
			// _menu
			// 
			this._menu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																				  this.menuItem1});
			// 
			// menuItem1
			// 
			this.menuItem1.Index = 0;
			this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this._miNew,
																					  this._miOpen,
																					  this._miSave,
																					  this._miSaveAs,
																					  this.menuItem6,
																					  this._miExit});
			this.menuItem1.Text = "&File";
			// 
			// _miNew
			// 
			this._miNew.Index = 0;
			this._miNew.Text = "&New";
			this._miNew.Click += new System.EventHandler(this._miNew_Click);
			// 
			// _miOpen
			// 
			this._miOpen.Index = 1;
			this._miOpen.Text = "&Open...";
			this._miOpen.Click += new System.EventHandler(this._miOpen_Click);
			// 
			// _miSave
			// 
			this._miSave.Index = 2;
			this._miSave.Text = "&Save";
			this._miSave.Click += new System.EventHandler(this._miSave_Click);
			// 
			// _miSaveAs
			// 
			this._miSaveAs.Index = 3;
			this._miSaveAs.Text = "Save &as...";
			this._miSaveAs.Click += new System.EventHandler(this._miSaveAs_Click);
			// 
			// menuItem6
			// 
			this.menuItem6.Index = 4;
			this.menuItem6.Text = "-";
			// 
			// _miExit
			// 
			this._miExit.Index = 5;
			this._miExit.Text = "E&xit";
			this._miExit.Click += new System.EventHandler(this._miExit_Click);
			// 
			// _dlgOpen
			// 
			this._dlgOpen.DefaultExt = "xml";
			this._dlgOpen.Filter = "Project Files (*.xml)|*.xml|All Files (*.*)|*.*";
			// 
			// _dlgSave
			// 
			this._dlgSave.DefaultExt = "xml";
			this._dlgSave.Filter = "Project Files (*.xml)|*.xml|All Files (*.*)|*.*";
			// 
			// MainForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
			this.ClientSize = new System.Drawing.Size(408, 237);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this._btnMigrate,
																		  this._selectTargetFile,
																		  this._selectSourceFile,
																		  this._selectAssembly,
																		  this._selectMigrationPlan});
			this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Menu = this._menu;
			this.Name = "MainForm";
			this.Text = "Version Migrator 0.1";
			this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
			this.ResumeLayout(false);

		}
예제 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._selectMigrationPlan = new VersionMigratorGUI.FileSelectionPane();
     this._selectAssembly      = new VersionMigratorGUI.FileSelectionPane();
     this._selectSourceFile    = new VersionMigratorGUI.FileSelectionPane();
     this._selectTargetFile    = new VersionMigratorGUI.FileSelectionPane();
     this._btnMigrate          = new System.Windows.Forms.Button();
     this._dlgSelectAssembly   = new System.Windows.Forms.OpenFileDialog();
     this._menu     = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this._miNew    = new System.Windows.Forms.MenuItem();
     this._miOpen   = new System.Windows.Forms.MenuItem();
     this._miSave   = new System.Windows.Forms.MenuItem();
     this._miSaveAs = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this._miExit   = new System.Windows.Forms.MenuItem();
     this._dlgOpen  = new System.Windows.Forms.OpenFileDialog();
     this._dlgSave  = new System.Windows.Forms.SaveFileDialog();
     this.SuspendLayout();
     //
     // _selectMigrationPlan
     //
     this._selectMigrationPlan.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                         | System.Windows.Forms.AnchorStyles.Right);
     this._selectMigrationPlan.FileMode         = VersionMigratorGUI.FileSelectionPaneFileMode.Open;
     this._selectMigrationPlan.FileName         = "";
     this._selectMigrationPlan.Filter           = "XML Files|*.xml|All Files (*.*)|*.*";
     this._selectMigrationPlan.Label            = "Migration Plan";
     this._selectMigrationPlan.Location         = new System.Drawing.Point(4, 8);
     this._selectMigrationPlan.Name             = "_selectMigrationPlan";
     this._selectMigrationPlan.Size             = new System.Drawing.Size(408, 40);
     this._selectMigrationPlan.TabIndex         = 0;
     this._selectMigrationPlan.FileNameChanged += new System.EventHandler(this._selectMigrationPlan_FileNameChanged);
     //
     // _selectAssembly
     //
     this._selectAssembly.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                    | System.Windows.Forms.AnchorStyles.Right);
     this._selectAssembly.FileMode         = VersionMigratorGUI.FileSelectionPaneFileMode.Open;
     this._selectAssembly.FileName         = "";
     this._selectAssembly.Filter           = "Libraries (*.dll)|*.dll|Executables (*.exe)|*.exe|All Files (*.*)|*.*";
     this._selectAssembly.Label            = "Main Assembly";
     this._selectAssembly.Location         = new System.Drawing.Point(4, 56);
     this._selectAssembly.Name             = "_selectAssembly";
     this._selectAssembly.Size             = new System.Drawing.Size(408, 40);
     this._selectAssembly.TabIndex         = 1;
     this._selectAssembly.FileNameChanged += new System.EventHandler(this._selectAssembly_FileNameChanged);
     //
     // _selectSourceFile
     //
     this._selectSourceFile.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                      | System.Windows.Forms.AnchorStyles.Right);
     this._selectSourceFile.FileMode = VersionMigratorGUI.FileSelectionPaneFileMode.Open;
     this._selectSourceFile.FileName = "";
     this._selectSourceFile.Filter   = "Bamboo.Prevalence Snapshots|*.snapshot|Data Files (*.dat)|*.dat|All Files (*.*)|*" +
                                       ".*";
     this._selectSourceFile.Label            = "Source File";
     this._selectSourceFile.Location         = new System.Drawing.Point(4, 104);
     this._selectSourceFile.Name             = "_selectSourceFile";
     this._selectSourceFile.Size             = new System.Drawing.Size(408, 40);
     this._selectSourceFile.TabIndex         = 2;
     this._selectSourceFile.FileNameChanged += new System.EventHandler(this._selectSourceFile_FileNameChanged);
     //
     // _selectTargetFile
     //
     this._selectTargetFile.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                      | System.Windows.Forms.AnchorStyles.Right);
     this._selectTargetFile.FileMode         = VersionMigratorGUI.FileSelectionPaneFileMode.Save;
     this._selectTargetFile.FileName         = "";
     this._selectTargetFile.Filter           = "All Files (*.*)|*.*";
     this._selectTargetFile.Label            = "Target File";
     this._selectTargetFile.Location         = new System.Drawing.Point(4, 152);
     this._selectTargetFile.Name             = "_selectTargetFile";
     this._selectTargetFile.Size             = new System.Drawing.Size(408, 40);
     this._selectTargetFile.TabIndex         = 3;
     this._selectTargetFile.FileNameChanged += new System.EventHandler(this._selectTargetFile_FileNameChanged);
     //
     // _btnMigrate
     //
     this._btnMigrate.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                | System.Windows.Forms.AnchorStyles.Right);
     this._btnMigrate.Location = new System.Drawing.Point(160, 200);
     this._btnMigrate.Name     = "_btnMigrate";
     this._btnMigrate.TabIndex = 4;
     this._btnMigrate.Text     = "Migrate";
     this._btnMigrate.Click   += new System.EventHandler(this._btnMigrate_Click);
     //
     // _dlgSelectAssembly
     //
     this._dlgSelectAssembly.DefaultExt = "dll";
     this._dlgSelectAssembly.Filter     = "Assemblies (*.dll)|*.dll|Assemblies (*.exe)|*.exe|Todos os Arquivos (*.*)|*.*";
     this._dlgSelectAssembly.Title      = "Selecione o Assembly";
     //
     // _menu
     //
     this._menu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this._miNew,
         this._miOpen,
         this._miSave,
         this._miSaveAs,
         this.menuItem6,
         this._miExit
     });
     this.menuItem1.Text = "&File";
     //
     // _miNew
     //
     this._miNew.Index  = 0;
     this._miNew.Text   = "&New";
     this._miNew.Click += new System.EventHandler(this._miNew_Click);
     //
     // _miOpen
     //
     this._miOpen.Index  = 1;
     this._miOpen.Text   = "&Open...";
     this._miOpen.Click += new System.EventHandler(this._miOpen_Click);
     //
     // _miSave
     //
     this._miSave.Index  = 2;
     this._miSave.Text   = "&Save";
     this._miSave.Click += new System.EventHandler(this._miSave_Click);
     //
     // _miSaveAs
     //
     this._miSaveAs.Index  = 3;
     this._miSaveAs.Text   = "Save &as...";
     this._miSaveAs.Click += new System.EventHandler(this._miSaveAs_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 4;
     this.menuItem6.Text  = "-";
     //
     // _miExit
     //
     this._miExit.Index  = 5;
     this._miExit.Text   = "E&xit";
     this._miExit.Click += new System.EventHandler(this._miExit_Click);
     //
     // _dlgOpen
     //
     this._dlgOpen.DefaultExt = "xml";
     this._dlgOpen.Filter     = "Project Files (*.xml)|*.xml|All Files (*.*)|*.*";
     //
     // _dlgSave
     //
     this._dlgSave.DefaultExt = "xml";
     this._dlgSave.Filter     = "Project Files (*.xml)|*.xml|All Files (*.*)|*.*";
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(408, 237);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this._btnMigrate,
         this._selectTargetFile,
         this._selectSourceFile,
         this._selectAssembly,
         this._selectMigrationPlan
     });
     this.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Menu     = this._menu;
     this.Name     = "MainForm";
     this.Text     = "Version Migrator 0.1";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.ResumeLayout(false);
 }