private void ChangeWork_Click(object sender, RoutedEventArgs e)
        {
            ModifyWorkWindow modifyWorkWindow = new ModifyWorkWindow();

            modifyWorkWindow.Owner = this;
            modifyWorkWindow.Show();
        }
Exemplo n.º 2
0
 /// <summary>
 /// 查看全部作品。
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void menuItemQueryWorks_Click(object sender, EventArgs e)
 {
     if (this.UserInfo != null)
     {
         ModifyWorkWindow win = new ModifyWorkWindow(this.CoreService, this.ClassID, this.CatalogID);
         win.StartPosition = FormStartPosition.CenterScreen;
         win.Show(this);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void UCWorkSet_DoubleClick(object sender, EventArgs e)
 {
     this.modifyWorkWindow = new ModifyWorkWindow(this.CoreService);
     this.modifyWorkWindow.StartPosition = FormStartPosition.CenterScreen;
     this.modifyWorkWindow.WindowState = FormWindowState.Normal;
     this.modifyWorkWindow.Show(this);
 }