Client: Fixed form Behaviour
Linked Form-Manager to javascript engine
This commit is contained in:
@@ -97,7 +97,9 @@ namespace CMS_Client.View
|
||||
NcFrm.Show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Refresh Browser Paint
|
||||
Browser.Refresh();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Generated
+1
@@ -482,6 +482,7 @@ namespace Step.UI
|
||||
this.metroLabel1.TabIndex = 34;
|
||||
this.metroLabel1.Text = "Vendor:";
|
||||
this.metroLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.metroLabel1.Click += new System.EventHandler(this.metroLabel1_Click);
|
||||
//
|
||||
// ThreadsInfo
|
||||
//
|
||||
|
||||
@@ -225,5 +225,10 @@ namespace Step.UI
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
private void metroLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+20
-22
File diff suppressed because one or more lines are too long
Vendored
+33
-31
File diff suppressed because one or more lines are too long
Vendored
+11
-11
File diff suppressed because one or more lines are too long
Vendored
+11
-11
File diff suppressed because one or more lines are too long
Vendored
+11
-11
File diff suppressed because one or more lines are too long
Vendored
+431
-449
File diff suppressed because one or more lines are too long
@@ -3,8 +3,19 @@ import { ModalHelper } from "./modules/base-components";
|
||||
|
||||
import { UserInfoDialog, MachineInfoDialog, AxesCalibration } from "./app.modules";
|
||||
|
||||
declare let cmsClient: any;
|
||||
|
||||
const messageService = Factory.Get(MessageService);
|
||||
|
||||
messageService.subscribeToChannel("show-user-info", () => { ModalHelper.ShowModal(UserInfoDialog); });
|
||||
messageService.subscribeToChannel("show-machine-info", () => { ModalHelper.ShowModal(MachineInfoDialog); });
|
||||
messageService.subscribeToChannel("show-axes-calibration", () =>{ ModalHelper.ShowModal(AxesCalibration);})
|
||||
messageService.subscribeToChannel("show-axes-calibration", () =>{ ModalHelper.ShowModal(AxesCalibration);});
|
||||
|
||||
if(typeof cmsClient != "undefined"){
|
||||
messageService.subscribeToChannel("close", () =>{ cmsClient.closeForm();});
|
||||
messageService.subscribeToChannel("hide", () =>{ cmsClient.minimizeForm();});
|
||||
}
|
||||
else{
|
||||
messageService.subscribeToChannel("close", () =>{ alert("Function not allowed for this Browser");});
|
||||
messageService.subscribeToChannel("hide", () =>{ alert("Function not allowed for this Browser");});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user