예제 #1
0
파일: MainForm.cs 프로젝트: JW-Roh/OotD
 private void OnInstanceRenamed(object sender, InstanceRenamedEventArgs e)
 {
     InstanceRenamed?.Invoke(sender, e);
 }
예제 #2
0
파일: MainForm.cs 프로젝트: bmxjumperc/ootd
 private void OnInstanceRenamed(object sender, InstanceRenamedEventArgs e)
 {
     if (_instanceRenamed != null)
     {
         _instanceRenamed(sender, e);
     }
 }
예제 #3
0
 private void InstanceRenamedEventHandler(Object sender, InstanceRenamedEventArgs e)
 {
     // remove the menu item for the removed instance.
     trayIcon.ContextMenuStrip.Items[e.OldInstanceName].Text = e.NewInstanceName;
     trayIcon.ContextMenuStrip.Items[e.OldInstanceName].Name = e.NewInstanceName;
 }
예제 #4
0
 private void InstanceRenamedEventHandler(Object sender, InstanceRenamedEventArgs e)
 {
     // remove the menu item for the removed instance.
     trayIcon.ContextMenuStrip.Items[e.OldInstanceName].Text = e.NewInstanceName;
     trayIcon.ContextMenuStrip.Items[e.OldInstanceName].Name = e.NewInstanceName;
 }