OnTopReplica/OnTopReplica/StartupOptions/CommandLineReportForm.cs
Lorenz Cuno Klopfenstein 8ab1cfd784 Almost complete command line options implementation.
Changed position context menu: now locks on a screen position and keeps it after moving/resizing.
Some bugfixes and code refactoring.
2010-10-09 20:51:23 +02:00

32 lines
845 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace OnTopReplica.StartupOptions {
public partial class CommandLineReportForm : Form {
public CommandLineReportForm(CliStatus status, string message) {
InitializeComponent();
switch (status) {
case CliStatus.Information:
labelInstruction.Text = "Command line help";
break;
case CliStatus.Error:
labelInstruction.Text = "Command line parsing error";
break;
}
txtDescription.Text = message;
txtCliArgs.Text = Environment.CommandLine;
}
}
}