Bu form kodunda button ok ve cancel gözükmüyor, yerleşimi çok altta sanırım. Tüm arayüz…
- User
Bu form kodunda button ok ve cancel gözükmüyor, yerleşimi çok altta sanırım. Tüm arayüz elamanlarını aynı şablonu kullanarak görünür kıl ->using System;
namespace Flashcard { partial class ExportSettingsForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null;
// Define controls private System.Windows.Forms.Label lblSelectFields; private System.Windows.Forms.CheckedListBox clbFields; private System.Windows.Forms.CheckBox chkSelectAllFields; private System.Windows.Forms.GroupBox grpExportOptions; private System.Windows.Forms.RadioButton rdbExportAll; private System.Windows.Forms.RadioButton rdbExportByCategory; private System.Windows.Forms.GroupBox grpContentFormat; private System.Windows.Forms.RadioButton rdbConvertToText; private System.Windows.Forms.RadioButton rdbKeepHtml; private System.Windows.Forms.Label lblSelectCategories; private System.Windows.Forms.CheckedListBox clbCategories; private System.Windows.Forms.CheckBox chkSelectAllCategories; private System.Windows.Forms.Button btnOK; private System.Windows.Forms.Button btnCancel; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblSelectFields = new System.Windows.Forms.Label(); this.clbFields = new System.Windows.Forms.CheckedListBox(); this.chkSelectAllFields = new System.Windows.Forms.CheckBox(); this.grpExportOptions = new System.Windows.Forms.GroupBox(); this.rdbExportAll = new System.Windows.Forms.RadioButton(); this.rdbExportByCategory = new System.Windows.Forms.RadioButton(); this.grpContentFormat = new System.Windows.Forms.GroupBox(); this.rdbConvertToText = new System.Windows.Forms.RadioButton(); this.rdbKeepHtml = new System.Windows.Forms.RadioButton(); this.lblSelectCategories = new System.Windows.Forms.Label(); this.clbCategories = new System.Windows.Forms.CheckedListBox(); this.chkSelectAllCategories = new System.Windows.Forms.CheckBox(); this.btnOK = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.grpExportOptions.SuspendLayout(); this.grpContentFormat.SuspendLayout(); this.SuspendLayout(); // // lblSelectFields // this.lblSelectFields.AutoSize = true; this.lblSelectFields.ForeColor = System.Drawing.Color.DarkSlateGray; this.lblSelectFields.Location = new System.Drawing.Point(20, 20); this.lblSelectFields.Name = "lblSelectFields"; this.lblSelectFields.Size = new System.Drawing.Size(142, 19); this.lblSelectFields.TabIndex = 0; this.lblSelectFields.Text = "Select fields to export:"; // // clbFields // this.clbFields.FormattingEnabled = true; this.clbFields.Items.AddRange(new object[] { "id", "category", "title", "content", "favorite", "pinned", "backgroundColor", "timestamp", "updatedAt", "hashtags"}); this.clbFields.Location = new System.Drawing.Point(20, 50); this.clbFields.Name = "clbFields"; this.clbFields.Size = new System.Drawing.Size(460, 124); this.clbFields.TabIndex = 1; // // chkSelectAllFields // this.chkSelectAllFields.AutoSize = true; this.chkSelectAllFields.ForeColor = System.Drawing.Color.DarkSlateGray; this.chkSelectAllFields.Location = new System.Drawing.Point(20, 196); this.chkSelectAllFields.Name = "chkSelectAllFields"; this.chkSelectAllFields.Size = new System.Drawing.Size(120, 23); this.chkSelectAllFields.TabIndex = 2; this.chkSelectAllFields.Text = "Select All Fields"; this.chkSelectAllFields.UseVisualStyleBackColor = true; this.chkSelectAllFields.CheckedChanged += new System.EventHandler(this.chkSelectAllFields_CheckedChanged); // // grpExportOptions // this.grpExportOptions.Controls.Add(this.rdbExportAll); this.grpExportOptions.Controls.Add(this.rdbExportByCategory); this.grpExportOptions.ForeColor = System.Drawing.Color.DarkSlateGray; this.grpExportOptions.Location = new System.Drawing.Point(20, 239); this.grpExportOptions.Name = "grpExportOptions"; this.grpExportOptions.Size = new System.Drawing.Size(460, 100); this.grpExportOptions.TabIndex = 3; this.grpExportOptions.TabStop = false; this.grpExportOptions.Text = "Export Options"; // // rdbExportAll // this.rdbExportAll.AutoSize = true; this.rdbExportAll.Checked = true; this.rdbExportAll.ForeColor = System.Drawing.Color.DarkSlateGray; this.rdbExportAll.Location = new System.Drawing.Point(15, 40); this.rdbExportAll.Name = "rdbExportAll"; this.rdbExportAll.Size = new System.Drawing.Size(109, 23); this.rdbExportAll.TabIndex = 0; this.rdbExportAll.TabStop = true; this.rdbExportAll.Text = "All Flashcards"; this.rdbExportAll.UseVisualStyleBackColor = true; this.rdbExportAll.CheckedChanged += new System.EventHandler(this.rdbExportOptions_CheckedChanged); // // rdbExportByCategory // this.rdbExportByCategory.AutoSize = true; this.rdbExportByCategory.ForeColor = System.Drawing.Color.DarkSlateGray; this.rdbExportByCategory.Location = new System.Drawing.Point(15, 70); this.rdbExportByCategory.Name = "rdbExportByCategory"; this.rdbExportByCategory.Size = new System.Drawing.Size(145, 23); this.rdbExportByCategory.TabIndex = 1; this.rdbExportByCategory.Text = "Export by Category"; this.rdbExportByCategory.UseVisualStyleBackColor = true; this.rdbExportByCategory.CheckedChanged += new System.EventHandler(this.rdbExportOptions_CheckedChanged); // // grpContentFormat // this.grpContentFormat.Controls.Add(this.rdbConvertToText); this.grpContentFormat.Controls.Add(this.rdbKeepHtml); this.grpContentFormat.ForeColor = System.Drawing.Color.DarkSlateGray; this.grpContentFormat.Location = new System.Drawing.Point(20, 358); this.grpContentFormat.Name = "grpContentFormat"; this.grpContentFormat.Size = new System.Drawing.Size(460, 100); this.grpContentFormat.TabIndex = 4; this.grpContentFormat.TabStop = false; this.grpContentFormat.Text = "Content Format"; // // rdbConvertToText // this.rdbConvertToText.AutoSize = true; this.rdbConvertToText.Checked = true; this.rdbConvertToText.ForeColor = System.Drawing.Color.DarkSlateGray; this.rdbConvertToText.Location = new System.Drawing.Point(15, 40); this.rdbConvertToText.Name = "rdbConvertToText"; this.rdbConvertToText.Size = new System.Drawing.Size(140, 23); this.rdbConvertToText.TabIndex = 0; this.rdbConvertToText.TabStop = true; this.rdbConvertToText.Text = "Plain Text (Default)"; this.rdbConvertToText.UseVisualStyleBackColor = true; // // rdbKeepHtml // this.rdbKeepHtml.AutoSize = true; this.rdbKeepHtml.ForeColor = System.Drawing.Color.DarkSlateGray; this.rdbKeepHtml.Location = new System.Drawing.Point(15, 70); this.rdbKeepHtml.Name = "rdbKeepHtml"; this.rdbKeepHtml.Size = new System.Drawing.Size(115, 23); this.rdbKeepHtml.TabIndex = 1; this.rdbKeepHtml.Text = "Keep as HTML"; this.rdbKeepHtml.UseVisualStyleBackColor = true; // // lblSelectCategories // this.lblSelectCategories.AutoSize = true; this.lblSelectCategories.ForeColor = System.Drawing.Color.DarkSlateGray; this.lblSelectCategories.Location = new System.Drawing.Point(16, 478); this.lblSelectCategories.Name = "lblSelectCategories"; this.lblSelectCategories.Size = new System.Drawing.Size(173, 19); this.lblSelectCategories.TabIndex = 5; this.lblSelectCategories.Text = "Select categories to export:"; this.lblSelectCategories.Visible = false; // // clbCategories // this.clbCategories.FormattingEnabled = true; this.clbCategories.Location = new System.Drawing.Point(20, 500); this.clbCategories.Name = "clbCategories"; this.clbCategories.Size = new System.Drawing.Size(460, 144); this.clbCategories.TabIndex = 6; this.clbCategories.Visible = false; // // chkSelectAllCategories // this.chkSelectAllCategories.AutoSize = true; this.chkSelectAllCategories.ForeColor = System.Drawing.Color.DarkSlateGray; this.chkSelectAllCategories.Location = new System.Drawing.Point(20, 660); this.chkSelectAllCategories.Name = "chkSelectAllCategories"; this.chkSelectAllCategories.Size = new System.Drawing.Size(151, 23); this.chkSelectAllCategories.TabIndex = 7; this.chkSelectAllCategories.Text = "Select All Categories"; this.chkSelectAllCategories.UseVisualStyleBackColor = true; this.chkSelectAllCategories.Visible = false; this.chkSelectAllCategories.CheckedChanged += new System.EventHandler(this.chkSelectAllCategories_CheckedChanged); // // btnOK // this.btnOK.BackColor = System.Drawing.Color.LightSlateGray; this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnOK.ForeColor = System.Drawing.Color.White; this.btnOK.Location = new System.Drawing.Point(120, 780); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(100, 35); this.btnOK.TabIndex = 8; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = false; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.BackColor = System.Drawing.Color.LightSlateGray; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.ForeColor = System.Drawing.Color.White; this.btnCancel.Location = new System.Drawing.Point(260, 780); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(100, 35); this.btnCancel.TabIndex = 9; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = false; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // ExportSettingsForm // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(551, 749); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.chkSelectAllCategories); this.Controls.Add(this.clbCategories); this.Controls.Add(this.lblSelectCategories); this.Controls.Add(this.grpContentFormat); this.Controls.Add(this.grpExportOptions); this.Controls.Add(this.chkSelectAllFields); this.Controls.Add(this.clbFields); this.Controls.Add(this.lblSelectFields); this.Font = new System.Drawing.Font("Segoe UI", 10F); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ExportSettingsForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Export Options"; this.grpExportOptions.ResumeLayout(false); this.grpExportOptions.PerformLayout(); this.grpContentFormat.ResumeLayout(false); this.grpContentFormat.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } } #endregion - Assistant
- User
oldu teşekkür ederim1
- Assistant
Rica ederim! Başka bir konuda yardıma ihtiyacın olursa sormaktan çekinme. İyi çalışmalar!
- User
- Assistant
- User
- Assistant