예제 #1
0
 public void Open()
 {
     if (win == null) {
         win = new LauncherMenuWindow(this);
     }
     win.Show();
     var alloc = button.Allocation;
     win.Move(alloc.X, alloc.Height);
 }
예제 #2
0
        public void Open()
        {
            if (win == null)
            {
                win = new LauncherMenuWindow(this);
            }
            win.Show();
            var alloc = button.Allocation;

            win.Move(alloc.X, alloc.Height);
        }