210202PX Some small GUI changes to frmVm.cs
This commit is contained in:
parent
322dd5ac70
commit
0dd7c66afd
|
@ -83,7 +83,8 @@ namespace dezentrale.view
|
|||
{
|
||||
Location = new Point(lm + 113, 1 * line + tm),
|
||||
Width = 580,
|
||||
Text = "Räumlichkeiten des dezentrale e.V., Dreilindenstr. 19, 04177 Leipzig"
|
||||
Text = "Räumlichkeiten des dezentrale e.V., Dreilindenstr. 19, 04177 Leipzig",
|
||||
//Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right
|
||||
});
|
||||
|
||||
page.Controls.Add(new Label()
|
||||
|
@ -108,34 +109,36 @@ namespace dezentrale.view
|
|||
"Berichte des Vorstandes\n" +
|
||||
"Entlastung des Vorstandes\n" +
|
||||
"Neuwahl des Vorstandes\n" +
|
||||
"Verschiedenes"
|
||||
"Verschiedenes",
|
||||
//Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right
|
||||
});
|
||||
|
||||
|
||||
page.Controls.Add(new Label()
|
||||
{
|
||||
Text = "Headline:",
|
||||
Location = new Point(lm, 6 * line + tm + labelOffs),
|
||||
Location = new Point(lm, 10 * line + tm + labelOffs),
|
||||
Size = new Size(110, labelHeight),
|
||||
TextAlign = ContentAlignment.BottomRight,
|
||||
});
|
||||
page.Controls.Add(tbInviteHeadline = new TextBox()
|
||||
{
|
||||
Location = new Point(lm + 113, 6 * line + tm),
|
||||
Location = new Point(lm + 113, 10 * line + tm),
|
||||
Width = 580,
|
||||
Text = "Einladung zur Mitgliederversammlung des dezentrale e.V. am {EventDate}"
|
||||
Text = "Einladung zur Mitgliederversammlung des dezentrale e.V. am {EventDate}",
|
||||
//Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right
|
||||
});
|
||||
page.Controls.Add(new Label()
|
||||
{
|
||||
Text = "Invitation Body:",
|
||||
Location = new Point(lm, 7 * line + tm + labelOffs),
|
||||
Location = new Point(lm, 11 * line + tm + labelOffs),
|
||||
Size = new Size(110, labelHeight),
|
||||
TextAlign = ContentAlignment.BottomRight,
|
||||
});
|
||||
page.Controls.Add(tbInviteBody = new TextBox()
|
||||
{
|
||||
Location = new Point(0, 8 * line + tm),
|
||||
Size = new Size(700, 80),
|
||||
Location = new Point(0, 12 * line + tm),
|
||||
Size = new Size(700, 160),
|
||||
Multiline = true,
|
||||
ScrollBars = ScrollBars.Both,
|
||||
//Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom,
|
||||
|
@ -148,7 +151,8 @@ namespace dezentrale.view
|
|||
+ "{AgendaNumberedString}\n\n"
|
||||
+ "Bitte denkt daran, dass für die Beschlussfähigkeit 51% der regulären Mitglieder vonnöten sind.\n\n"
|
||||
+ "Liebe Grüße,\n\n\n"
|
||||
+ $"{Program.config.LocalUser}"
|
||||
+ $"{Program.config.LocalUser}",
|
||||
//Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right
|
||||
});
|
||||
return page;
|
||||
}
|
||||
|
@ -156,6 +160,14 @@ namespace dezentrale.view
|
|||
private TabPage BuildPageMemberInvitation()
|
||||
{
|
||||
TabPage page = new TabPage("Member invitation");
|
||||
GroupBox grpPreview = new GroupBox()
|
||||
{
|
||||
Location = new Point(300, 0),
|
||||
Size = new Size(400, 600),
|
||||
Text = "Testtext",
|
||||
Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom,
|
||||
};
|
||||
page.Controls.Add(grpPreview);
|
||||
return page;
|
||||
}
|
||||
|
||||
|
@ -170,7 +182,7 @@ namespace dezentrale.view
|
|||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
this.StartPosition = FormStartPosition.CenterParent;
|
||||
this.Size = new System.Drawing.Size(800, 600);
|
||||
this.Size = new System.Drawing.Size(730, 600);
|
||||
this.Text = "dezentrale-members :: Send MV invitation";
|
||||
this.Controls.Add(tabControl = new TabControl()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue