Esempio n. 1
0
        static void Main()
        {
            Iup.Open();
            IupControls.Open();
            IupGL.Open();

            IupHandle button, bkbox;


            using (IupHandle dlg = Iup.Dialog(
                       Iup.Vbox(
                           LabelText("Namn:"),
                           LabelText("Adress:"),
                           LabelText("Gata:"),
                           button = Iup.Button("OK")
                           ).SetAttributes("ALIGNMENT=ARIGHT,NGAP=4")

                       )
                   )
            {
                //openitem.SetCallback ("K_cO", new CallbackKeyPressCB (OnKeyPress));


                byte[] img = new byte[100 * 100 * 3];
                img[10] = 25;
                IupHandle iupimg = Iup.ImageRGB(100, 100, img);



                var ep = Iup.ElementPropertiesDialog(button);
                ep.Show();


                dlg.Show();
                Iup.MainLoop();
            }



            Iup.Close();
        }
Esempio n. 2
0
 public VBox(IupComposite parent)
     : base(parent, Iup.Vbox())
 {
 }