Skip to content
Snippets Groups Projects
Commit cc1f2c81 authored by Halim Kim's avatar Halim Kim
Browse files

Complete

parent 0a47b7bf
No related branches found
No related tags found
No related merge requests found
Showing
with 49 additions and 93 deletions
......@@ -54,7 +54,6 @@
this.label2.Size = new System.Drawing.Size(62, 12);
this.label2.TabIndex = 1;
this.label2.Text = "Password";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// Email_txt
//
......@@ -97,7 +96,6 @@
this.MinimizeBox = false;
this.Name = "Loginform";
this.Text = "LoginForm";
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Loginform_KeyDown);
this.ResumeLayout(false);
this.PerformLayout();
......
......@@ -36,11 +36,6 @@ namespace RDPClient
InitializeComponent();
}
private void label2_Click(object sender, EventArgs e)
{
}
/*private void Login_button_Click(object sender, EventArgs e)
{
//등록된 아디 비번, khr9603@naver.com, 1234
......@@ -88,11 +83,6 @@ namespace RDPClient
}*/
private void Loginform_KeyDown(object sender, KeyEventArgs e)
{
}
private void PW_txt_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
......@@ -130,7 +120,6 @@ namespace RDPClient
Application.Exit();
}
/*if (ID == "khr9603" && PW == "1234")
{
this.Hide();
......
......@@ -33,6 +33,9 @@
this.VMListView = new System.Windows.Forms.ListView();
this.Connect_button = new System.Windows.Forms.Button();
this.InformationBox = new System.Windows.Forms.GroupBox();
this.start_stop_btn = new System.Windows.Forms.Button();
this.Status_label = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.CPU_label = new System.Windows.Forms.Label();
this.Memory_label = new System.Windows.Forms.Label();
this.OS_label = new System.Windows.Forms.Label();
......@@ -40,15 +43,12 @@
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.Close_button = new System.Windows.Forms.Button();
this.RDPContainer = new System.Windows.Forms.GroupBox();
this.label5 = new System.Windows.Forms.Label();
this.Status_label = new System.Windows.Forms.Label();
this.start_stop_btn = new System.Windows.Forms.Button();
this.axMsRdpClient9NotSafeForScripting1 = new AxMSTSCLib.AxMsRdpClient9NotSafeForScripting();
this.RDPContainer = new System.Windows.Forms.GroupBox();
this.VMListBox.SuspendLayout();
this.InformationBox.SuspendLayout();
this.RDPContainer.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.axMsRdpClient9NotSafeForScripting1)).BeginInit();
this.RDPContainer.SuspendLayout();
this.SuspendLayout();
//
// VMListBox
......@@ -75,6 +75,7 @@
//
// Connect_button
//
this.Connect_button.Enabled = false;
this.Connect_button.Location = new System.Drawing.Point(276, 308);
this.Connect_button.Name = "Connect_button";
this.Connect_button.Size = new System.Drawing.Size(75, 23);
......@@ -101,6 +102,33 @@
this.InformationBox.TabStop = false;
this.InformationBox.Text = "Information";
//
// start_stop_btn
//
this.start_stop_btn.Location = new System.Drawing.Point(134, 157);
this.start_stop_btn.Name = "start_stop_btn";
this.start_stop_btn.Size = new System.Drawing.Size(40, 23);
this.start_stop_btn.TabIndex = 8;
this.start_stop_btn.Text = "시작";
this.start_stop_btn.UseVisualStyleBackColor = true;
this.start_stop_btn.Click += new System.EventHandler(this.start_stop_btn_Click);
//
// Status_label
//
this.Status_label.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.Status_label.Location = new System.Drawing.Point(65, 157);
this.Status_label.Name = "Status_label";
this.Status_label.Size = new System.Drawing.Size(63, 23);
this.Status_label.TabIndex = 7;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(6, 158);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(29, 12);
this.label5.TabIndex = 6;
this.label5.Text = "상태";
//
// CPU_label
//
this.CPU_label.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
......@@ -116,7 +144,6 @@
this.Memory_label.Name = "Memory_label";
this.Memory_label.Size = new System.Drawing.Size(100, 22);
this.Memory_label.TabIndex = 4;
this.Memory_label.Click += new System.EventHandler(this.Memory_label_Click);
//
// OS_label
//
......@@ -163,46 +190,6 @@
this.Close_button.UseVisualStyleBackColor = true;
this.Close_button.Click += new System.EventHandler(this.close_button_Click_1);
//
// RDPContainer
//
this.RDPContainer.AutoSize = true;
this.RDPContainer.Controls.Add(this.axMsRdpClient9NotSafeForScripting1);
this.RDPContainer.Location = new System.Drawing.Point(0, 0);
this.RDPContainer.Name = "RDPContainer";
this.RDPContainer.Size = new System.Drawing.Size(495, 278);
this.RDPContainer.TabIndex = 7;
this.RDPContainer.TabStop = false;
this.RDPContainer.Text = "RDPContainer";
this.RDPContainer.Visible = false;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(6, 158);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(29, 12);
this.label5.TabIndex = 6;
this.label5.Text = "상태";
this.label5.Click += new System.EventHandler(this.Status_label_Click);
//
// Status_label
//
this.Status_label.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.Status_label.Location = new System.Drawing.Point(65, 157);
this.Status_label.Name = "Status_label";
this.Status_label.Size = new System.Drawing.Size(63, 23);
this.Status_label.TabIndex = 7;
//
// start_stop_btn
//
this.start_stop_btn.Location = new System.Drawing.Point(134, 157);
this.start_stop_btn.Name = "start_stop_btn";
this.start_stop_btn.Size = new System.Drawing.Size(40, 23);
this.start_stop_btn.TabIndex = 8;
this.start_stop_btn.Text = "시작";
this.start_stop_btn.UseVisualStyleBackColor = true;
this.start_stop_btn.Click += new System.EventHandler(this.start_stop_btn_Click);
//
// axMsRdpClient9NotSafeForScripting1
//
this.axMsRdpClient9NotSafeForScripting1.Dock = System.Windows.Forms.DockStyle.Fill;
......@@ -210,12 +197,23 @@
this.axMsRdpClient9NotSafeForScripting1.Location = new System.Drawing.Point(3, 17);
this.axMsRdpClient9NotSafeForScripting1.Name = "axMsRdpClient9NotSafeForScripting1";
this.axMsRdpClient9NotSafeForScripting1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMsRdpClient9NotSafeForScripting1.OcxState")));
this.axMsRdpClient9NotSafeForScripting1.Size = new System.Drawing.Size(489, 258);
this.axMsRdpClient9NotSafeForScripting1.Size = new System.Drawing.Size(519, 282);
this.axMsRdpClient9NotSafeForScripting1.TabIndex = 6;
this.axMsRdpClient9NotSafeForScripting1.Visible = false;
this.axMsRdpClient9NotSafeForScripting1.OnConnecting += new System.EventHandler(this.axMsRdpClient9NotSafeForScripting1_OnConnecting);
this.axMsRdpClient9NotSafeForScripting1.OnDisconnected += new AxMSTSCLib.IMsTscAxEvents_OnDisconnectedEventHandler(this.axMsRdpClient9NotSafeForScripting1_OnDisconnected);
//
// RDPContainer
//
this.RDPContainer.AutoSize = true;
this.RDPContainer.Controls.Add(this.axMsRdpClient9NotSafeForScripting1);
this.RDPContainer.Location = new System.Drawing.Point(0, 0);
this.RDPContainer.Name = "RDPContainer";
this.RDPContainer.Size = new System.Drawing.Size(525, 302);
this.RDPContainer.TabIndex = 7;
this.RDPContainer.TabStop = false;
this.RDPContainer.Text = "RDPContainer";
this.RDPContainer.Visible = false;
//
// RDPClient
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
......@@ -230,12 +228,11 @@
this.Name = "RDPClient";
this.Text = "RDP Client";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RDPClient_FormClosing);
this.Load += new System.EventHandler(this.RDPClient_Load);
this.VMListBox.ResumeLayout(false);
this.InformationBox.ResumeLayout(false);
this.InformationBox.PerformLayout();
this.RDPContainer.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.axMsRdpClient9NotSafeForScripting1)).EndInit();
this.RDPContainer.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
......@@ -254,11 +251,11 @@
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ListView VMListView;
private System.Windows.Forms.Button Close_button;
private System.Windows.Forms.GroupBox RDPContainer;
private AxMSTSCLib.AxMsRdpClient9NotSafeForScripting axMsRdpClient9NotSafeForScripting1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label Status_label;
private System.Windows.Forms.Button start_stop_btn;
private AxMSTSCLib.AxMsRdpClient9NotSafeForScripting axMsRdpClient9NotSafeForScripting1;
private System.Windows.Forms.GroupBox RDPContainer;
}
}
......@@ -40,7 +40,6 @@ namespace RDPClient
}
public void client_OnConnecting(object sender, EventArgs e)
{
AxMsRdpClient9NotSafeForScripting client = sender as AxMsRdpClient9NotSafeForScripting;
......@@ -48,12 +47,6 @@ namespace RDPClient
private void Connect_button_Click(object sender, EventArgs e)
{
/*string IP_address = "20.41.83.165";
string server = IP_address;
int port = 3389;
string userID = "Halim";
string password = "dldbfrhr@2eE";*/
string server;
int port = 3389;
string userID;
......@@ -97,12 +90,6 @@ namespace RDPClient
}
}
}
private void RDPClient_Load(object sender, EventArgs e)
{
}
private void close_button_Click_1(object sender, EventArgs e)
......@@ -115,11 +102,6 @@ namespace RDPClient
Application.Exit();
}
private void axMsRdpClient9NotSafeForScripting1_OnConnecting(object sender, EventArgs e)
{
}
static string CallApi(string url, string token)
{
ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;
......@@ -208,16 +190,6 @@ namespace RDPClient
}
}
private void Status_label_Click(object sender, EventArgs e)
{
}
private void Memory_label_Click(object sender, EventArgs e)
{
}
private void axMsRdpClient9NotSafeForScripting1_OnDisconnected(object sender, IMsTscAxEvents_OnDisconnectedEvent e)
{
this.Hide();
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment