/// <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; }
/// <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; }
/// <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; }
/// <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; }