Ignore:
Timestamp:
Sep 29, 2011, 5:38:55 PM (13 years ago)
Author:
bayral
Message:

piwigo.upload retrieve data, and ready to upload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoUpload/MainForm.Designer.cs

    r12256 r12262  
    3131        {
    3232            this.components = new System.ComponentModel.Container();
    33             System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Node2");
    34             System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Node1", new System.Windows.Forms.TreeNode[] {
    35             treeNode1});
    36             System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Root Category", new System.Windows.Forms.TreeNode[] {
    37             treeNode2});
    3833            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
    3934            this.button1 = new System.Windows.Forms.Button();
     
    4136            this.label2 = new System.Windows.Forms.Label();
    4237            this.label3 = new System.Windows.Forms.Label();
    43             this.treeView1 = new System.Windows.Forms.TreeView();
     38            this.AlbumsTV = new System.Windows.Forms.TreeView();
    4439            this.imageListTV = new System.Windows.Forms.ImageList(this.components);
    4540            this.cbxLstCatTo = new System.Windows.Forms.ComboBox();
     41            this.modelManagerBaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
     42            this.selectedPwgCategoryListBindingSource = new System.Windows.Forms.BindingSource(this.components);
    4643            this.label4 = new System.Windows.Forms.Label();
    4744            this.button2 = new System.Windows.Forms.Button();
     
    4946            this.tbServer = new System.Windows.Forms.TextBox();
    5047            this.tbUser = new System.Windows.Forms.TextBox();
    51             this.pwgCategoryListBindingSource = new System.Windows.Forms.BindingSource(this.components);
    52             ((System.ComponentModel.ISupportInitialize)(this.pwgCategoryListBindingSource)).BeginInit();
     48            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     49            ((System.ComponentModel.ISupportInitialize)(this.modelManagerBaseBindingSource)).BeginInit();
     50            ((System.ComponentModel.ISupportInitialize)(this.selectedPwgCategoryListBindingSource)).BeginInit();
     51            this.tableLayoutPanel1.SuspendLayout();
    5352            this.SuspendLayout();
    5453            //
    5554            // button1
    5655            //
    57             this.button1.Location = new System.Drawing.Point(273, 63);
     56            resources.ApplyResources(this.button1, "button1");
     57            this.button1.MaximumSize = new System.Drawing.Size(200, 20);
     58            this.button1.MinimumSize = new System.Drawing.Size(75, 20);
    5859            this.button1.Name = "button1";
    59             this.button1.Size = new System.Drawing.Size(138, 23);
    60             this.button1.TabIndex = 40;
    61             this.button1.Text = "Telecharger";
    6260            this.button1.UseVisualStyleBackColor = true;
    6361            this.button1.Click += new System.EventHandler(this.Connect_Click);
     
    6563            // label1
    6664            //
    67             this.label1.AutoSize = true;
    68             this.label1.Location = new System.Drawing.Point(12, 40);
     65            resources.ApplyResources(this.label1, "label1");
    6966            this.label1.Name = "label1";
    70             this.label1.Size = new System.Drawing.Size(29, 13);
    71             this.label1.TabIndex = 20;
    72             this.label1.Text = "User";
    7367            //
    7468            // label2
    7569            //
    76             this.label2.AutoSize = true;
    77             this.label2.Location = new System.Drawing.Point(217, 40);
     70            resources.ApplyResources(this.label2, "label2");
    7871            this.label2.Name = "label2";
    79             this.label2.Size = new System.Drawing.Size(53, 13);
    80             this.label2.TabIndex = 30;
    81             this.label2.Text = "Password";
    8272            //
    8373            // label3
    8474            //
    85             this.label3.AutoSize = true;
    86             this.label3.Location = new System.Drawing.Point(12, 14);
     75            resources.ApplyResources(this.label3, "label3");
    8776            this.label3.Name = "label3";
    88             this.label3.Size = new System.Drawing.Size(38, 13);
    89             this.label3.TabIndex = 10;
    90             this.label3.Text = "Server";
    91             //
    92             // treeView1
    93             //
    94             this.treeView1.ImageIndex = 0;
    95             this.treeView1.ImageList = this.imageListTV;
    96             this.treeView1.Location = new System.Drawing.Point(15, 103);
    97             this.treeView1.Name = "treeView1";
    98             treeNode1.Name = "Node2";
    99             treeNode1.SelectedImageIndex = 2;
    100             treeNode1.Text = "Node2";
    101             treeNode2.ImageIndex = 1;
    102             treeNode2.Name = "Node1";
    103             treeNode2.Text = "Node1";
    104             treeNode3.Name = "RootCategory";
    105             treeNode3.Text = "Root Category";
    106             treeNode3.ToolTipText = "Root";
    107             this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
    108             treeNode3});
    109             this.treeView1.SelectedImageIndex = 0;
    110             this.treeView1.Size = new System.Drawing.Size(396, 202);
    111             this.treeView1.TabIndex = 41;
     77            //
     78            // AlbumsTV
     79            //
     80            this.tableLayoutPanel1.SetColumnSpan(this.AlbumsTV, 4);
     81            resources.ApplyResources(this.AlbumsTV, "AlbumsTV");
     82            this.AlbumsTV.ImageList = this.imageListTV;
     83            this.AlbumsTV.MinimumSize = new System.Drawing.Size(150, 150);
     84            this.AlbumsTV.Name = "AlbumsTV";
     85            this.AlbumsTV.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
     86            ((System.Windows.Forms.TreeNode)(resources.GetObject("AlbumsTV.Nodes")))});
    11287            //
    11388            // imageListTV
     
    12196            // cbxLstCatTo
    12297            //
    123             this.cbxLstCatTo.DataSource = this.pwgCategoryListBindingSource;
    124             this.cbxLstCatTo.DisplayMember = "Name";
     98            this.tableLayoutPanel1.SetColumnSpan(this.cbxLstCatTo, 2);
     99            this.cbxLstCatTo.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.modelManagerBaseBindingSource, "PwgCategoryIdSelected", true));
     100            this.cbxLstCatTo.DataSource = this.selectedPwgCategoryListBindingSource;
     101            this.cbxLstCatTo.DisplayMember = "ShowedValue";
     102            resources.ApplyResources(this.cbxLstCatTo, "cbxLstCatTo");
    125103            this.cbxLstCatTo.FormattingEnabled = true;
    126             this.cbxLstCatTo.Location = new System.Drawing.Point(47, 311);
    127104            this.cbxLstCatTo.Name = "cbxLstCatTo";
    128             this.cbxLstCatTo.Size = new System.Drawing.Size(223, 21);
    129             this.cbxLstCatTo.TabIndex = 42;
    130105            this.cbxLstCatTo.ValueMember = "Id";
    131106            //
     107            // modelManagerBaseBindingSource
     108            //
     109            this.modelManagerBaseBindingSource.DataSource = typeof(Com.Piwigo.Uploader.DTO.ModelManager.ModelManagerBase);
     110            //
     111            // selectedPwgCategoryListBindingSource
     112            //
     113            this.selectedPwgCategoryListBindingSource.DataSource = typeof(Com.Piwigo.Uploader.DTO.SelectedPwgCategoryList);
     114            //
    132115            // label4
    133116            //
    134             this.label4.AutoSize = true;
    135             this.label4.Location = new System.Drawing.Point(12, 319);
     117            resources.ApplyResources(this.label4, "label4");
    136118            this.label4.Name = "label4";
    137             this.label4.Size = new System.Drawing.Size(22, 13);
    138             this.label4.TabIndex = 43;
    139             this.label4.Text = "to :";
    140119            //
    141120            // button2
    142121            //
    143             this.button2.Location = new System.Drawing.Point(273, 314);
     122            resources.ApplyResources(this.button2, "button2");
     123            this.button2.MaximumSize = new System.Drawing.Size(200, 20);
     124            this.button2.MinimumSize = new System.Drawing.Size(75, 20);
    144125            this.button2.Name = "button2";
    145             this.button2.Size = new System.Drawing.Size(138, 23);
    146             this.button2.TabIndex = 44;
    147             this.button2.Text = "Telecharger";
    148126            this.button2.UseVisualStyleBackColor = true;
    149127            this.button2.Click += new System.EventHandler(this.Telecharger_Click);
     
    152130            //
    153131            this.tbPassword.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::Com.Piwigo.Uploader.Properties.Settings.Default, "pwdData", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
    154             this.tbPassword.Location = new System.Drawing.Point(273, 37);
     132            resources.ApplyResources(this.tbPassword, "tbPassword");
     133            this.tbPassword.MinimumSize = new System.Drawing.Size(100, 20);
    155134            this.tbPassword.Name = "tbPassword";
    156             this.tbPassword.PasswordChar = '*';
    157             this.tbPassword.Size = new System.Drawing.Size(138, 20);
    158             this.tbPassword.TabIndex = 31;
    159135            this.tbPassword.Text = global::Com.Piwigo.Uploader.Properties.Settings.Default.pwdData;
    160136            //
    161137            // tbServer
    162138            //
     139            this.tableLayoutPanel1.SetColumnSpan(this.tbServer, 3);
    163140            this.tbServer.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::Com.Piwigo.Uploader.Properties.Settings.Default, "serverUrlData", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
    164             this.tbServer.Location = new System.Drawing.Point(68, 11);
     141            resources.ApplyResources(this.tbServer, "tbServer");
     142            this.tbServer.MinimumSize = new System.Drawing.Size(100, 20);
    165143            this.tbServer.Name = "tbServer";
    166             this.tbServer.Size = new System.Drawing.Size(343, 20);
    167             this.tbServer.TabIndex = 11;
    168144            this.tbServer.Text = global::Com.Piwigo.Uploader.Properties.Settings.Default.serverUrlData;
    169145            //
     
    171147            //
    172148            this.tbUser.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::Com.Piwigo.Uploader.Properties.Settings.Default, "userData", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
    173             this.tbUser.Location = new System.Drawing.Point(68, 37);
     149            resources.ApplyResources(this.tbUser, "tbUser");
     150            this.tbUser.MinimumSize = new System.Drawing.Size(100, 20);
    174151            this.tbUser.Name = "tbUser";
    175             this.tbUser.Size = new System.Drawing.Size(138, 20);
    176             this.tbUser.TabIndex = 21;
    177152            this.tbUser.Text = global::Com.Piwigo.Uploader.Properties.Settings.Default.userData;
    178153            //
    179             // pwgCategoryListBindingSource
    180             //
    181             this.pwgCategoryListBindingSource.AllowNew = false;
    182             this.pwgCategoryListBindingSource.DataSource = typeof(Com.Piwigo.Uploader.DTO.PwgCategoryList);
     154            // tableLayoutPanel1
     155            //
     156            resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
     157            this.tableLayoutPanel1.Controls.Add(this.button2, 3, 5);
     158            this.tableLayoutPanel1.Controls.Add(this.label1, 0, 1);
     159            this.tableLayoutPanel1.Controls.Add(this.label4, 0, 5);
     160            this.tableLayoutPanel1.Controls.Add(this.tbServer, 1, 0);
     161            this.tableLayoutPanel1.Controls.Add(this.tbUser, 1, 1);
     162            this.tableLayoutPanel1.Controls.Add(this.label2, 2, 1);
     163            this.tableLayoutPanel1.Controls.Add(this.AlbumsTV, 0, 3);
     164            this.tableLayoutPanel1.Controls.Add(this.tbPassword, 3, 1);
     165            this.tableLayoutPanel1.Controls.Add(this.button1, 3, 2);
     166            this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
     167            this.tableLayoutPanel1.Controls.Add(this.cbxLstCatTo, 1, 5);
     168            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
    183169            //
    184170            // MainForm
    185171            //
    186             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     172            resources.ApplyResources(this, "$this");
    187173            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    188             this.ClientSize = new System.Drawing.Size(423, 346);
    189             this.Controls.Add(this.button2);
    190             this.Controls.Add(this.label4);
    191             this.Controls.Add(this.cbxLstCatTo);
    192             this.Controls.Add(this.treeView1);
    193             this.Controls.Add(this.tbPassword);
    194             this.Controls.Add(this.label3);
    195             this.Controls.Add(this.tbServer);
    196             this.Controls.Add(this.label2);
    197             this.Controls.Add(this.label1);
    198             this.Controls.Add(this.tbUser);
    199             this.Controls.Add(this.button1);
     174            this.Controls.Add(this.tableLayoutPanel1);
    200175            this.Name = "MainForm";
    201             this.Text = " Piwigo Uploader";
    202             this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
    203             this.Load += new System.EventHandler(this.Form1_Load);
    204             ((System.ComponentModel.ISupportInitialize)(this.pwgCategoryListBindingSource)).EndInit();
     176            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
     177            this.Load += new System.EventHandler(this.MainForm_Load);
     178            ((System.ComponentModel.ISupportInitialize)(this.modelManagerBaseBindingSource)).EndInit();
     179            ((System.ComponentModel.ISupportInitialize)(this.selectedPwgCategoryListBindingSource)).EndInit();
     180            this.tableLayoutPanel1.ResumeLayout(false);
     181            this.tableLayoutPanel1.PerformLayout();
    205182            this.ResumeLayout(false);
    206183            this.PerformLayout();
     
    217194        private System.Windows.Forms.TextBox tbServer;
    218195        private System.Windows.Forms.TextBox tbPassword;
    219         private System.Windows.Forms.TreeView treeView1;
     196        private System.Windows.Forms.TreeView AlbumsTV;
    220197        private System.Windows.Forms.ImageList imageListTV;
    221198        private System.Windows.Forms.ComboBox cbxLstCatTo;
    222199        private System.Windows.Forms.Label label4;
    223200        private System.Windows.Forms.Button button2;
    224         private System.Windows.Forms.BindingSource pwgCategoryListBindingSource;
     201        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
     202        private System.Windows.Forms.BindingSource selectedPwgCategoryListBindingSource;
     203        private System.Windows.Forms.BindingSource modelManagerBaseBindingSource;
    225204    }
    226205}
Note: See TracChangeset for help on using the changeset viewer.