コード例 #1
0
		/// <summary>
		/// <c>NewDatabaseAssistant</c>'s constructor.
		/// </summary>
		/// <param name="parent">
		/// The window this dialog will be modal of.
		/// </param>
		public NewDatabaseAsisstant(Window parent) : 
			base(parent, "Asistente de nueva base de datos de caracteres")
		{
			databaseStep = new DatabaseTypeStep(this);
			fileStep = new FileSelectionStep(this);
			processesStep = new BitmapProcessesStep(this, fileStep.ImagesStore);
			propertiesStep = new DatabasePropertiesStep(this);
			
			this.AddStep(databaseStep);		
			this.AddStep(fileStep);
			this.AddStep(processesStep);
			this.AddStep(propertiesStep);
			
			
			foreach(PanelAssistantStep panel in Steps)
			{
				panel.StepWidget.SetSizeRequest(500,300);
			}
			
			this.Window.Icon = ImageResources.LoadPixbuf("database-new16");
		}
コード例 #2
0
        /// <summary>
        /// <c>NewDatabaseAssistant</c>'s constructor.
        /// </summary>
        /// <param name="parent">
        /// The window this dialog will be modal of.
        /// </param>
        public NewDatabaseAsisstant(Window parent) :
            base(parent, "Asistente de nueva base de datos de caracteres")
        {
            databaseStep   = new DatabaseTypeStep(this);
            fileStep       = new FileSelectionStep(this);
            processesStep  = new BitmapProcessesStep(this, fileStep.ImagesStore);
            propertiesStep = new DatabasePropertiesStep(this);

            this.AddStep(databaseStep);
            this.AddStep(fileStep);
            this.AddStep(processesStep);
            this.AddStep(propertiesStep);


            foreach (PanelAssistantStep panel in Steps)
            {
                panel.StepWidget.SetSizeRequest(500, 300);
            }

            this.Window.Icon = ImageResources.LoadPixbuf("database-new16");
        }