reorder columns

This commit is contained in:
2024-09-08 17:11:28 +02:00
parent 4c54f592d3
commit f2a78a462c

View File

@@ -173,7 +173,7 @@ public partial class Form1 : RadForm, IMainApi
{ {
Name = "side", Name = "side",
HeaderText = ActionsListLangRes.Col_Side, HeaderText = ActionsListLangRes.Col_Side,
Width = 150, Width = 100,
DataSource = Enum.GetValues<Side>(), DataSource = Enum.GetValues<Side>(),
}, },
new GridViewCheckBoxColumn new GridViewCheckBoxColumn
@@ -188,12 +188,6 @@ public partial class Form1 : RadForm, IMainApi
HeaderText = ActionsListLangRes.Col_IsZip, HeaderText = ActionsListLangRes.Col_IsZip,
Width = 50, Width = 50,
}, },
new GridViewTextBoxColumn
{
Name = "zippath",
HeaderText = ActionsListLangRes.Col_ZipPath,
Width = 200,
},
new GridViewCheckBoxColumn new GridViewCheckBoxColumn
{ {
Name = "isdir", Name = "isdir",
@@ -201,19 +195,6 @@ public partial class Form1 : RadForm, IMainApi
Width = 50, Width = 50,
IsVisible = infos is UpdateInfo, IsVisible = infos is UpdateInfo,
}, },
new GridViewTextBoxColumn
{
Name = "srcpath",
HeaderText = ActionsListLangRes.Col_SrcPath,
Width = 250,
IsVisible = infos is UpdateInfo,
},
new GridViewTextBoxColumn
{
Name = "destpath",
HeaderText = ActionsListLangRes.Col_DestPath,
Width = 250,
},
new GridViewComboBoxColumn new GridViewComboBoxColumn
{ {
Name = "srctype", Name = "srctype",
@@ -252,6 +233,25 @@ public partial class Form1 : RadForm, IMainApi
Width = 350, Width = 350,
}, },
new GridViewTextBoxColumn new GridViewTextBoxColumn
{
Name = "zippath",
HeaderText = ActionsListLangRes.Col_ZipPath,
Width = 200,
},
new GridViewTextBoxColumn
{
Name = "srcpath",
HeaderText = ActionsListLangRes.Col_SrcPath,
Width = 250,
IsVisible = infos is UpdateInfo,
},
new GridViewTextBoxColumn
{
Name = "destpath",
HeaderText = ActionsListLangRes.Col_DestPath,
Width = 250,
},
new GridViewTextBoxColumn
{ {
Name = "website", Name = "website",
HeaderText = ActionsListLangRes.Col_Website, HeaderText = ActionsListLangRes.Col_Website,