public myControl(canvasType canvasTy) { InitializeComponent(); this.m_onLine = false; windowType = canvasTy; }
public TrailsShowFrom(canvasType canvasty) { InitializeComponent(); canvastype = canvasty; if (canvastype == canvasType.DONGLE) { //m_nDeviceW = 14335; //m_nDeviceH = 8191; m_nDeviceW = 22600; m_nDeviceH = 16650; } else if (canvastype == canvasType.P1) { m_nDeviceW = 17407; m_nDeviceH = 10751; } else if (canvasty == canvasType.T7E_TS) { m_nDeviceW = 14335; m_nDeviceH = 8191; } else { m_nDeviceW = 29700; m_nDeviceH = 21000; } bOptimize = false; }
public TrailsShowFrom(canvasType canvasty) { InitializeComponent(); canvastype = canvasty; if (canvastype == canvasType.DONGLE) { m_nDeviceW = 14335; m_nDeviceH = 8191; m_nDeviceW = 22015; m_nDeviceH = 15359; } else if (canvastype == canvasType.P1) { m_nDeviceW = 17407; m_nDeviceH = 10751; } else { m_nDeviceW = 22015; m_nDeviceH = 15359; } }