public void AddItem(WorkItem wi) { WorkItemWindow newWindow = new WorkItemWindow(wi); WorkWindow newWorkWindow= new WorkWindow(wi, newWindow); windows.AddLast(newWorkWindow); if (isVisible == true) newWindow.Show(); }
public void AddItem(WorkItem wi) { WorkItemWindow newWindow = new WorkItemWindow(wi); WorkWindow newWorkWindow = new WorkWindow(wi, newWindow); windows.AddLast(newWorkWindow); if (isVisible == true) { newWindow.Show(); } }
/* Constructor that allows positioning of item */ public void AddItem(WorkItem wi, int x, int y) { WorkItemWindow newWindow = new WorkItemWindow(wi); WorkWindow newWorkWindow = new WorkWindow(wi, newWindow); newWorkWindow.window.Left = x; newWorkWindow.window.Top = y; windows.AddLast(newWorkWindow); if (isVisible == true) newWindow.Show(); }
/* Constructor that allows positioning of item */ public void AddItem(WorkItem wi, int x, int y) { WorkItemWindow newWindow = new WorkItemWindow(wi); WorkWindow newWorkWindow = new WorkWindow(wi, newWindow); newWorkWindow.window.Left = x; newWorkWindow.window.Top = y; windows.AddLast(newWorkWindow); if (isVisible == true) { newWindow.Show(); } }
public WorkWindow(WorkItem d, WorkItemWindow w) { data = d; window = w; }