Exemplo n.º 1
0
 public void Display()
 {
     if (window != null)
     {
         window.Show();
     }
 }
Exemplo n.º 2
0
        public void AddItem(WorkItem wi)
        {
            WorkItemWindow newWindow = new WorkItemWindow(wi);
            WorkWindow newWorkWindow= new WorkWindow(wi, newWindow);

            windows.AddLast(newWorkWindow);
            if (isVisible == true)
                newWindow.Show();
        }
Exemplo n.º 3
0
        public void AddItem(WorkItem wi)
        {
            WorkItemWindow newWindow     = new WorkItemWindow(wi);
            WorkWindow     newWorkWindow = new WorkWindow(wi, newWindow);

            windows.AddLast(newWorkWindow);
            if (isVisible == true)
            {
                newWindow.Show();
            }
        }
Exemplo n.º 4
0
        /* 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();
        }
Exemplo n.º 5
0
        /* 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();
            }
        }