Ejemplo n.º 1
0
        /// <summary>Initialize FileProcessDialog with a custom widget inside</summary>
        /// <param name="ProgressBox">Link to the xwt widget, which should be displayed in the FileProcessDialog.</param>
        public FileProcessDialog(ref Xwt.Widget ProgressBox)
        {
            Localizator locale = new Localizator();
            this.Title = locale.GetString("FileProgressDialogTitle");
            cmdCancel.Label = locale.GetString("Cancel");
            this.Decorated = false;

            Layout.PackStart(ProgressBox, true, true);
            Layout.PackStart(cmdCancel, false, false);
            this.Content = Layout;
        }
Ejemplo n.º 2
0
        /// <summary>Initialize FileProcessDialog with a custom widget inside</summary>
        /// <param name="ProgressBox">Link to the xwt widget, which should be displayed in the FileProcessDialog.</param>
        public FileProcessDialog(ref Xwt.Widget ProgressBox)
        {
            Localizator locale = new Localizator();

            this.Title      = locale.GetString("FileProgressDialogTitle");
            cmdCancel.Label = locale.GetString("Cancel");
            this.Decorated  = false;

            Layout.PackStart(ProgressBox, true, true);
            Layout.PackStart(cmdCancel, false, false);
            this.Content = Layout;
        }
Ejemplo n.º 3
0
        /// <summary>Initialize FileProcessDialog with four-row label</summary>
        public FileProcessDialog()
        {
            Localizator locale = new Localizator();
            this.Title = locale.GetString("FileProgressDialogTitle");
            cmdCancel.Label = locale.GetString("Cancel");
            //this.Decorated = false;
            this.Resizable = false;

            Layout.PackStart(lblStatus, true, true);
            Layout.PackStart(pbrProgress, true, true);
            Layout.PackStart(cmdCancel,false,false);
            this.Content = Layout;

            this.InitialLocation = Xwt.WindowLocation.Manual;
        }
Ejemplo n.º 4
0
        /// <summary>Initialize FileProcessDialog with four-row label</summary>
        public FileProcessDialog()
        {
            Localizator locale = new Localizator();

            this.Title      = locale.GetString("FileProgressDialogTitle");
            cmdCancel.Label = locale.GetString("Cancel");
            //this.Decorated = false;
            this.Resizable = false;

            Layout.PackStart(lblStatus, true, true);
            Layout.PackStart(pbrProgress, true, true);
            Layout.PackStart(cmdCancel, false, false);
            this.Content = Layout;

            this.InitialLocation = Xwt.WindowLocation.Manual;
        }