mirror of
https://github.com/LorenzCK/OnTopReplica.git
synced 2024-06-03 11:04:32 +12:00
8ab1cfd784
Changed position context menu: now locks on a screen position and keeps it after moving/resizing. Some bugfixes and code refactoring.
32 lines
845 B
C#
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;
|
|
}
|
|
|
|
}
|
|
}
|