- Timestamp:
- 06/09/08 01:44:45 (5 years ago)
- Location:
- lang/csharp/MMMMB/MMMMB
- Files:
-
- 2 modified
-
MainForm.Designer.cs (modified) (4 diffs)
-
MainForm.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/csharp/MMMMB/MMMMB/MainForm.Designer.cs
r11290 r13558 62 62 this.exitMenu}); 63 63 this.notifyMenu.Name = "notifyMenu"; 64 this.notifyMenu.Size = new System.Drawing.Size(1 53, 76);64 this.notifyMenu.Size = new System.Drawing.Size(110, 54); 65 65 // 66 66 // openMenu … … 68 68 this.openMenu.Font = new System.Drawing.Font("MS UI Gothic", 9F, System.Drawing.FontStyle.Bold); 69 69 this.openMenu.Name = "openMenu"; 70 this.openMenu.Size = new System.Drawing.Size(1 52, 22);70 this.openMenu.Size = new System.Drawing.Size(109, 22); 71 71 this.openMenu.Text = "開く(&O)"; 72 72 this.openMenu.Click += new System.EventHandler(this.openMenu_Click); … … 75 75 // 76 76 this.notifyMenuSeparator.Name = "notifyMenuSeparator"; 77 this.notifyMenuSeparator.Size = new System.Drawing.Size(1 49, 6);77 this.notifyMenuSeparator.Size = new System.Drawing.Size(106, 6); 78 78 // 79 79 // exitMenu 80 80 // 81 81 this.exitMenu.Name = "exitMenu"; 82 this.exitMenu.Size = new System.Drawing.Size(1 52, 22);82 this.exitMenu.Size = new System.Drawing.Size(109, 22); 83 83 this.exitMenu.Text = "終了(&X)"; 84 84 this.exitMenu.Click += new System.EventHandler(this.exitMenu_Click); … … 95 95 this.Padding = new System.Windows.Forms.Padding(3); 96 96 this.Text = "MMMMB"; 97 this.Resize += new System.EventHandler(this.MainForm_Resize); 97 98 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); 98 99 this.Load += new System.EventHandler(this.MainForm_Load); -
lang/csharp/MMMMB/MMMMB/MainForm.cs
r11290 r13558 131 131 private void openMenu_Click(object sender, EventArgs e) 132 132 { 133 this.Show(); 134 this.WindowState = FormWindowState.Normal; 133 135 this.Activate(); 134 136 } … … 138 140 this.Close(); 139 141 } 142 143 private void MainForm_Resize(object sender, EventArgs e) 144 { 145 if (this.WindowState == FormWindowState.Minimized) 146 { 147 this.Hide(); 148 } 149 } 140 150 } 141 151 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)