private async Task ListData(ExListView ex) { // this.BackgroundColor = Color.LightGray; this.IsBusy = true; if (ex != null) { try { if (Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.Lollipop) { ex.IsVisible = false; } ex.ItemsSource = null; App.activityList = _manager.GetAllActivity(); ex.ItemsSource = App.activityList; await Task.Delay(1000); if (Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.Lollipop) { ex.IsVisible = true; } await Task.Delay(1380); } catch (Exception e) { Console.WriteLine(e); } } else { await DisplayAlert("hata", "a", "ok"); } this.IsBusy = false; // this.BackgroundColor = Color.White; }
public ActivityPage() { Title = "Tüm Aktivitelerim"; var mainListView = new ExListView(); var activityIndicatorLabel = new ExLabel() { Text = "Aktiviteleriniz getiriliyor...", TextColor = Color.Black }; var activityIndicator = new ActivityIndicator() { Color = Color.DarkRed }; activityIndicator.SetBinding(ActivityIndicator.IsRunningProperty, new Binding("IsBusy", source: this)); var frame = new ExFrame() { CornerRadius = 10, VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.Center, BackgroundColor = Color.LightGray }; var activityIndicatorStackLayout = new ExStackLayout() { VerticalOptions = LayoutOptions.Center, HorizontalOptions = LayoutOptions.Center, // Padding = new Thickness(20, 20, 20, 20), }; activityIndicatorStackLayout.Children.Add(activityIndicatorLabel); activityIndicatorStackLayout.Children.Add(activityIndicator); frame.SetBinding(Frame.IsVisibleProperty, new Binding("IsBusy", source: this)); frame.Content = activityIndicatorStackLayout; mainListView.ItemSelected += async(sender, e) => { var selected = (Activity)e.SelectedItem; var listView = (ExListView)sender; if (selected != null) { await Navigation.PushAsync(new ActivityAddAndUpdatePage(selected)); listView.SelectedItem = null; } }; mainListView.ItemTemplate = App.ActivityPageDataTemplate; mainListView.SetBinding(ListView.ItemsSourceProperty, new Binding("activityList", source: typeof(App))); var mainGrid = new ExGrid(); var bodyGrid = new ExGrid(); bodyGrid.Children.Add(mainListView); mainGrid.Children.Add(bodyGrid); mainGrid.Children.Add(frame); Content = mainGrid; var newActivityToolbarItem = new ToolbarItem("Yeni", null, delegate { }, ToolbarItemOrder.Primary, 0); newActivityToolbarItem.Clicked += async(sender, e) => { await Navigation.PushAsync(new ActivityAddAndUpdatePage(null), true); }; this.ToolbarItems.Add(newActivityToolbarItem); var refreshListToolbarItem = new ToolbarItem("Yenile", null, delegate { }, ToolbarItemOrder.Primary, 1); this.ToolbarItems.Add(refreshListToolbarItem); refreshListToolbarItem.Clicked += async(sender, e) => { Device.BeginInvokeOnMainThread((async() => { await ListData(mainListView); })); }; Task.Factory.StartNew(async() => { await ListData(mainListView); }); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FolderDiffForm)); this.lvMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.selectAllMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.copyToSourceMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyToTargetMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.delFrmSourceMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.delFrmTargetMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.excludeMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.collisionMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.propertiesMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.scMain = new System.Windows.Forms.SplitContainer(); this.lvCompare = new ExListView(); this.colSource = new System.Windows.Forms.ColumnHeader(); this.colSourceSize = new System.Windows.Forms.ColumnHeader(); this.colSourceDate = new System.Windows.Forms.ColumnHeader(); this.colSyncAction = new System.Windows.Forms.ColumnHeader(); this.colTarget = new System.Windows.Forms.ColumnHeader(); this.colTargetSize = new System.Windows.Forms.ColumnHeader(); this.colTargetDate = new System.Windows.Forms.ColumnHeader(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.scBottom = new System.Windows.Forms.SplitContainer(); this.scView = new System.Windows.Forms.SplitContainer(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblTargetCreate = new System.Windows.Forms.Label(); this.lblTargetCpy = new System.Windows.Forms.Label(); this.lblSourceCreate = new System.Windows.Forms.Label(); this.lblSourceCpy = new System.Windows.Forms.Label(); this.lblTargetTotal = new System.Windows.Forms.Label(); this.lblTargetRemove = new System.Windows.Forms.Label(); this.lblSourceTotal = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.lblSourceRemove = new System.Windows.Forms.Label(); this.lblTargetOW = new System.Windows.Forms.Label(); this.lblTargetDel = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.lblSourceOW = new System.Windows.Forms.Label(); this.lblSourceDel = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btnHelp = new System.Windows.Forms.Button(); this.btnSynchronize = new System.Windows.Forms.Button(); this.btnAbort = new System.Windows.Forms.Button(); this.syncProgressBar = new System.Windows.Forms.ProgressBar(); this.lvMenu.SuspendLayout(); this.scMain.Panel1.SuspendLayout(); this.scMain.Panel2.SuspendLayout(); this.scMain.SuspendLayout(); this.scBottom.Panel1.SuspendLayout(); this.scBottom.Panel2.SuspendLayout(); this.scBottom.SuspendLayout(); this.scView.Panel1.SuspendLayout(); this.scView.Panel2.SuspendLayout(); this.scView.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // lvMenu // this.lvMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.selectAllMenuItem, this.openMenuItem, this.toolStripSeparator1, this.copyToSourceMenuItem, this.copyToTargetMenuItem, this.deleteMenuItem, this.delFrmSourceMenuItem, this.delFrmTargetMenuItem, this.excludeMenuItem, this.collisionMenuItem, this.toolStripSeparator2, this.propertiesMenuItem}); this.lvMenu.Name = "lvMenu"; this.lvMenu.Size = new System.Drawing.Size(193, 236); this.lvMenu.Opening += new System.ComponentModel.CancelEventHandler(this.lvMenu_Opening); // // selectAllMenuItem // this.selectAllMenuItem.Name = "selectAllMenuItem"; this.selectAllMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.selectAllMenuItem.Size = new System.Drawing.Size(192, 22); this.selectAllMenuItem.Text = "Select all"; this.selectAllMenuItem.Click += new System.EventHandler(this.selectAllMenuItem_Click); // // openMenuItem // this.openMenuItem.Name = "openMenuItem"; this.openMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openMenuItem.Size = new System.Drawing.Size(192, 22); this.openMenuItem.Text = "Open"; this.openMenuItem.Click += new System.EventHandler(this.openMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(189, 6); // // copyToSourceMenuItem // this.copyToSourceMenuItem.Image = global::SyncSharp.Properties.Resources.left_copy; this.copyToSourceMenuItem.Name = "copyToSourceMenuItem"; this.copyToSourceMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.copyToSourceMenuItem.Size = new System.Drawing.Size(192, 22); this.copyToSourceMenuItem.Text = "Copy to Source"; this.copyToSourceMenuItem.Click += new System.EventHandler(this.copyToSourceMenuItem_Click); // // copyToTargetMenuItem // this.copyToTargetMenuItem.Image = global::SyncSharp.Properties.Resources.right_copy; this.copyToTargetMenuItem.Name = "copyToTargetMenuItem"; this.copyToTargetMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); this.copyToTargetMenuItem.Size = new System.Drawing.Size(192, 22); this.copyToTargetMenuItem.Text = "Copy to Target"; this.copyToTargetMenuItem.Click += new System.EventHandler(this.copyToTargetMenuItem_Click); // // deleteMenuItem // this.deleteMenuItem.Image = global::SyncSharp.Properties.Resources.remove; this.deleteMenuItem.Name = "deleteMenuItem"; this.deleteMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.deleteMenuItem.Size = new System.Drawing.Size(192, 22); this.deleteMenuItem.Text = "Delete from Both"; this.deleteMenuItem.Click += new System.EventHandler(this.deleteMenuItem_Click); // // delFrmSourceMenuItem // this.delFrmSourceMenuItem.Image = global::SyncSharp.Properties.Resources.delete_left; this.delFrmSourceMenuItem.Name = "delFrmSourceMenuItem"; this.delFrmSourceMenuItem.Size = new System.Drawing.Size(192, 22); this.delFrmSourceMenuItem.Text = "Delete from Source"; this.delFrmSourceMenuItem.Click += new System.EventHandler(this.delSourceMenuItem_Click); // // delFrmTargetMenuItem // this.delFrmTargetMenuItem.Image = global::SyncSharp.Properties.Resources.delete_right; this.delFrmTargetMenuItem.Name = "delFrmTargetMenuItem"; this.delFrmTargetMenuItem.Size = new System.Drawing.Size(192, 22); this.delFrmTargetMenuItem.Text = "Delete from Target"; this.delFrmTargetMenuItem.Click += new System.EventHandler(this.delTargetMenuItem_Click); // // excludeMenuItem // this.excludeMenuItem.Image = global::SyncSharp.Properties.Resources.exclude; this.excludeMenuItem.Name = "excludeMenuItem"; this.excludeMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); this.excludeMenuItem.Size = new System.Drawing.Size(192, 22); this.excludeMenuItem.Text = "Skip and Exclude"; this.excludeMenuItem.Click += new System.EventHandler(this.excludeMenuItem_Click); // // collisionMenuItem // this.collisionMenuItem.Image = global::SyncSharp.Properties.Resources.prompt; this.collisionMenuItem.Name = "collisionMenuItem"; this.collisionMenuItem.Size = new System.Drawing.Size(192, 22); this.collisionMenuItem.Text = "Collision, prompt me"; this.collisionMenuItem.Click += new System.EventHandler(this.collisionMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(189, 6); // // propertiesMenuItem // this.propertiesMenuItem.Name = "propertiesMenuItem"; this.propertiesMenuItem.Size = new System.Drawing.Size(192, 22); this.propertiesMenuItem.Text = "Properties"; this.propertiesMenuItem.Click += new System.EventHandler(this.propertiesMenuItem_Click); // // scMain // this.scMain.Dock = System.Windows.Forms.DockStyle.Fill; this.scMain.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.scMain.IsSplitterFixed = true; this.scMain.Location = new System.Drawing.Point(0, 0); this.scMain.Name = "scMain"; this.scMain.Orientation = System.Windows.Forms.Orientation.Horizontal; // // scMain.Panel1 // this.scMain.Panel1.Controls.Add(this.lvCompare); // // scMain.Panel2 // this.scMain.Panel2.Controls.Add(this.scBottom); this.scMain.Size = new System.Drawing.Size(650, 374); this.scMain.SplitterDistance = 193; this.scMain.SplitterWidth = 5; this.scMain.TabIndex = 0; // // lvCompare // this.lvCompare.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colSource, this.colSourceSize, this.colSourceDate, this.colSyncAction, this.colTarget, this.colTargetSize, this.colTargetDate}); this.lvCompare.ContextMenuStrip = this.lvMenu; this.lvCompare.Dock = System.Windows.Forms.DockStyle.Fill; this.lvCompare.FullRowSelect = true; this.lvCompare.GridLines = true; this.lvCompare.Location = new System.Drawing.Point(0, 0); this.lvCompare.Name = "lvCompare"; this.lvCompare.OwnerDraw = true; this.lvCompare.ShowItemToolTips = true; this.lvCompare.Size = new System.Drawing.Size(650, 193); this.lvCompare.SmallImageList = this.imageList; this.lvCompare.TabIndex = 1; this.lvCompare.UseCompatibleStateImageBehavior = false; this.lvCompare.View = System.Windows.Forms.View.Details; this.lvCompare.VirtualMode = true; this.lvCompare.DrawColumnHeader += new System.Windows.Forms.DrawListViewColumnHeaderEventHandler(this.lvCompare_DrawColumnHeader); this.lvCompare.DoubleClick += new System.EventHandler(this.lvCompare_DoubleClick); this.lvCompare.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvCompare_ColumnClick); this.lvCompare.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.lvCompare_RetrieveVirtualItem); this.lvCompare.DrawSubItem += new System.Windows.Forms.DrawListViewSubItemEventHandler(this.lvCompare_DrawSubItem); // // colSource // this.colSource.Text = "Source"; this.colSource.Width = 180; // // colSourceSize // this.colSourceSize.Text = "Size (bytes)"; this.colSourceSize.Width = 90; // // colSourceDate // this.colSourceDate.Text = "Date & Time"; this.colSourceDate.Width = 125; // // colSyncAction // this.colSyncAction.Text = "Sync Action"; this.colSyncAction.Width = 130; // // colTarget // this.colTarget.Text = "Target"; this.colTarget.Width = 180; // // colTargetSize // this.colTargetSize.Text = "Size (bytes)"; this.colTargetSize.Width = 90; // // colTargetDate // this.colTargetDate.Text = "Date & Time"; this.colTargetDate.Width = 125; // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // scBottom // this.scBottom.Dock = System.Windows.Forms.DockStyle.Fill; this.scBottom.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.scBottom.IsSplitterFixed = true; this.scBottom.Location = new System.Drawing.Point(0, 0); this.scBottom.Name = "scBottom"; this.scBottom.Orientation = System.Windows.Forms.Orientation.Horizontal; // // scBottom.Panel1 // this.scBottom.Panel1.Controls.Add(this.scView); // // scBottom.Panel2 // this.scBottom.Panel2.Controls.Add(this.syncProgressBar); this.scBottom.Panel2MinSize = 18; this.scBottom.Size = new System.Drawing.Size(650, 176); this.scBottom.SplitterDistance = 154; this.scBottom.TabIndex = 0; // // scView // this.scView.Dock = System.Windows.Forms.DockStyle.Fill; this.scView.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.scView.IsSplitterFixed = true; this.scView.Location = new System.Drawing.Point(0, 0); this.scView.Name = "scView"; // // scView.Panel1 // this.scView.Panel1.Controls.Add(this.groupBox1); // // scView.Panel2 // this.scView.Panel2.Controls.Add(this.groupBox2); this.scView.Size = new System.Drawing.Size(650, 154); this.scView.SplitterDistance = 510; this.scView.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.lblTargetCreate); this.groupBox1.Controls.Add(this.lblTargetCpy); this.groupBox1.Controls.Add(this.lblSourceCreate); this.groupBox1.Controls.Add(this.lblSourceCpy); this.groupBox1.Controls.Add(this.lblTargetTotal); this.groupBox1.Controls.Add(this.lblTargetRemove); this.groupBox1.Controls.Add(this.lblSourceTotal); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.lblSourceRemove); this.groupBox1.Controls.Add(this.lblTargetOW); this.groupBox1.Controls.Add(this.lblTargetDel); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.lblSourceOW); this.groupBox1.Controls.Add(this.lblSourceDel); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(510, 154); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Statistics"; // // lblTargetCreate // this.lblTargetCreate.AutoSize = true; this.lblTargetCreate.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblTargetCreate.Location = new System.Drawing.Point(341, 88); this.lblTargetCreate.Name = "lblTargetCreate"; this.lblTargetCreate.Size = new System.Drawing.Size(31, 13); this.lblTargetCreate.TabIndex = 0; this.lblTargetCreate.Text = "none"; // // lblTargetCpy // this.lblTargetCpy.AutoSize = true; this.lblTargetCpy.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblTargetCpy.Location = new System.Drawing.Point(341, 31); this.lblTargetCpy.Name = "lblTargetCpy"; this.lblTargetCpy.Size = new System.Drawing.Size(99, 13); this.lblTargetCpy.TabIndex = 0; this.lblTargetCpy.Text = "40 [500 123 bytes]"; // // lblSourceCreate // this.lblSourceCreate.AutoSize = true; this.lblSourceCreate.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblSourceCreate.Location = new System.Drawing.Point(164, 88); this.lblSourceCreate.Name = "lblSourceCreate"; this.lblSourceCreate.Size = new System.Drawing.Size(66, 13); this.lblSourceCreate.TabIndex = 0; this.lblSourceCreate.Text = "1 [12 bytes]"; // // lblSourceCpy // this.lblSourceCpy.AutoSize = true; this.lblSourceCpy.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblSourceCpy.Location = new System.Drawing.Point(164, 31); this.lblSourceCpy.Name = "lblSourceCpy"; this.lblSourceCpy.Size = new System.Drawing.Size(129, 13); this.lblSourceCpy.TabIndex = 0; this.lblSourceCpy.Text = "10 120 [1 245 345 bytes]"; // // lblTargetTotal // this.lblTargetTotal.AutoSize = true; this.lblTargetTotal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lblTargetTotal.Location = new System.Drawing.Point(340, 126); this.lblTargetTotal.Name = "lblTargetTotal"; this.lblTargetTotal.Size = new System.Drawing.Size(100, 13); this.lblTargetTotal.TabIndex = 0; this.lblTargetTotal.Text = "2 [23 123 bytes]"; // // lblTargetRemove // this.lblTargetRemove.AutoSize = true; this.lblTargetRemove.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblTargetRemove.Location = new System.Drawing.Point(341, 107); this.lblTargetRemove.Name = "lblTargetRemove"; this.lblTargetRemove.Size = new System.Drawing.Size(87, 13); this.lblTargetRemove.TabIndex = 0; this.lblTargetRemove.Text = "2 [23 123 bytes]"; // // lblSourceTotal // this.lblSourceTotal.AutoSize = true; this.lblSourceTotal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lblSourceTotal.Location = new System.Drawing.Point(164, 126); this.lblSourceTotal.Name = "lblSourceTotal"; this.lblSourceTotal.Size = new System.Drawing.Size(100, 13); this.lblSourceTotal.TabIndex = 0; this.lblSourceTotal.Text = "23 [1 234 bytes]"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F); this.label4.Location = new System.Drawing.Point(21, 88); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(93, 13); this.label4.TabIndex = 0; this.label4.Text = "Folders to create:"; // // lblSourceRemove // this.lblSourceRemove.AutoSize = true; this.lblSourceRemove.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblSourceRemove.Location = new System.Drawing.Point(164, 107); this.lblSourceRemove.Name = "lblSourceRemove"; this.lblSourceRemove.Size = new System.Drawing.Size(31, 13); this.lblSourceRemove.TabIndex = 0; this.lblSourceRemove.Text = "none"; // // lblTargetOW // this.lblTargetOW.AutoSize = true; this.lblTargetOW.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblTargetOW.Location = new System.Drawing.Point(341, 69); this.lblTargetOW.Name = "lblTargetOW"; this.lblTargetOW.Size = new System.Drawing.Size(87, 13); this.lblTargetOW.TabIndex = 0; this.lblTargetOW.Text = "10 [9 500 bytes]"; // // lblTargetDel // this.lblTargetDel.AutoSize = true; this.lblTargetDel.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblTargetDel.Location = new System.Drawing.Point(341, 50); this.lblTargetDel.Name = "lblTargetDel"; this.lblTargetDel.Size = new System.Drawing.Size(87, 13); this.lblTargetDel.TabIndex = 0; this.lblTargetDel.Text = "7 [10 200 bytes]"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Underline); this.label7.Location = new System.Drawing.Point(341, 12); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(70, 13); this.label7.TabIndex = 0; this.label7.Text = "Target folder"; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Underline); this.label6.Location = new System.Drawing.Point(164, 12); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(71, 13); this.label6.TabIndex = 0; this.label6.Text = "Source folder"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Tahoma", 8.25F); this.label5.Location = new System.Drawing.Point(21, 31); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(71, 13); this.label5.TabIndex = 0; this.label5.Text = "Files to copy:"; // // lblSourceOW // this.lblSourceOW.AutoSize = true; this.lblSourceOW.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblSourceOW.Location = new System.Drawing.Point(164, 69); this.lblSourceOW.Name = "lblSourceOW"; this.lblSourceOW.Size = new System.Drawing.Size(81, 13); this.lblSourceOW.TabIndex = 0; this.lblSourceOW.Text = "7 [9 010 bytes]"; // // lblSourceDel // this.lblSourceDel.AutoSize = true; this.lblSourceDel.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lblSourceDel.Location = new System.Drawing.Point(164, 50); this.lblSourceDel.Name = "lblSourceDel"; this.lblSourceDel.Size = new System.Drawing.Size(93, 13); this.lblSourceDel.TabIndex = 0; this.lblSourceDel.Text = "10 [10 000 bytes]"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F); this.label1.Location = new System.Drawing.Point(21, 69); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(119, 13); this.label1.TabIndex = 0; this.label1.Text = "Files to be overwritten:"; // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.label8.Location = new System.Drawing.Point(21, 126); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(39, 13); this.label8.TabIndex = 0; this.label8.Text = "Total:"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F); this.label3.Location = new System.Drawing.Point(21, 107); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(98, 13); this.label3.TabIndex = 0; this.label3.Text = "Folders to remove:"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F); this.label2.Location = new System.Drawing.Point(21, 50); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(78, 13); this.label2.TabIndex = 0; this.label2.Text = "Files to delete:"; // // groupBox2 // this.groupBox2.Controls.Add(this.btnHelp); this.groupBox2.Controls.Add(this.btnSynchronize); this.groupBox2.Controls.Add(this.btnAbort); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(136, 154); this.groupBox2.TabIndex = 0; this.groupBox2.TabStop = false; this.groupBox2.Text = "Controls"; // // btnHelp // this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image"))); this.btnHelp.Location = new System.Drawing.Point(20, 84); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(99, 25); this.btnHelp.TabIndex = 0; this.btnHelp.Text = "Help"; this.btnHelp.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.btnHelp.UseVisualStyleBackColor = true; // // btnSynchronize // this.btnSynchronize.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnSynchronize.Image = ((System.Drawing.Image)(resources.GetObject("btnSynchronize.Image"))); this.btnSynchronize.Location = new System.Drawing.Point(20, 22); this.btnSynchronize.Name = "btnSynchronize"; this.btnSynchronize.Size = new System.Drawing.Size(99, 25); this.btnSynchronize.TabIndex = 0; this.btnSynchronize.Text = "Synchronize"; this.btnSynchronize.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.btnSynchronize.UseVisualStyleBackColor = true; this.btnSynchronize.Click += new System.EventHandler(this.btnSynchronize_Click); // // btnAbort // this.btnAbort.DialogResult = System.Windows.Forms.DialogResult.Abort; this.btnAbort.Image = ((System.Drawing.Image)(resources.GetObject("btnAbort.Image"))); this.btnAbort.Location = new System.Drawing.Point(20, 53); this.btnAbort.Name = "btnAbort"; this.btnAbort.Size = new System.Drawing.Size(99, 25); this.btnAbort.TabIndex = 0; this.btnAbort.Text = "Abort"; this.btnAbort.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.btnAbort.UseVisualStyleBackColor = true; this.btnAbort.Click += new System.EventHandler(this.btnAbort_Click); // // syncProgressBar // this.syncProgressBar.Dock = System.Windows.Forms.DockStyle.Fill; this.syncProgressBar.Location = new System.Drawing.Point(0, 0); this.syncProgressBar.Name = "syncProgressBar"; this.syncProgressBar.Size = new System.Drawing.Size(650, 18); this.syncProgressBar.TabIndex = 0; // // FolderDiffForm // this.AcceptButton = this.btnSynchronize; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Control; this.CancelButton = this.btnAbort; this.ClientSize = new System.Drawing.Size(650, 374); this.Controls.Add(this.scMain); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MinimizeBox = false; this.Name = "FolderDiffForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Synchronization Preview"; this.Load += new System.EventHandler(this.FolderDiffForm_Load); this.lvMenu.ResumeLayout(false); this.scMain.Panel1.ResumeLayout(false); this.scMain.Panel2.ResumeLayout(false); this.scMain.ResumeLayout(false); this.scBottom.Panel1.ResumeLayout(false); this.scBottom.Panel2.ResumeLayout(false); this.scBottom.ResumeLayout(false); this.scView.Panel1.ResumeLayout(false); this.scView.Panel2.ResumeLayout(false); this.scView.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }