예제 #1
0
파일: FormTask.cs 프로젝트: Ring-r/opt
 private void miPlacementLast_Click(object sender, EventArgs e)
 {
     if (form_placement_last == null || form_placement_last.IsDisposed)
         form_placement_last = new FormPlacement() { Text = "Последнее размещение", Location = new System.Drawing.Point(this.Width, this.Height / 2) };
     form_placement_last.Show();
     form_placement_last.Placement = task.PlacementLast;
     form_placement_last.Activate();
     this.Activate();
 }
예제 #2
0
파일: FormTask.cs 프로젝트: Ring-r/opt
 private void miPlacementOpt_Click(object sender, EventArgs e)
 {
     if (form_placement_opt == null || form_placement_opt.IsDisposed)
         form_placement_opt = new FormPlacement() { Text = "Лучшее размещение", Location = new System.Drawing.Point(this.Width, 0) };
     form_placement_opt.Show();
     form_placement_opt.Placement = task.PlacementOpt;
     form_placement_opt.Activate();
     this.Activate();
 }