public QrCodeDialog(string title, string description, QRCodeData qrData) { this.title = title; this.Description = description; this.InitializeComponent(); dialogBrush = new ClientDialogBrush(); BitmapByteQRCode qrCode = new BitmapByteQRCode(qrData); qrCodeImageBmp = qrCode.GetGraphic(20); LoadQrImage(); }
public FileActivatedDialog(bool status) { this.InitializeComponent(); dialogBrush = new ClientDialogBrush(); if (status) { Detail = Utils.AppResources.GetString("LoadDataSuccess"); } else { Detail = Utils.AppResources.GetString("LoadDataError"); } }
public ClientDialog(Model.Client.ClientInfo clientInfo) { this.client = clientInfo; dialogBrush = new ClientDialogBrush(); typeModels = TypeModel.GetAllModel(); for (int i = 0; i < typeModels.Count; i++) { if (typeModels[i].type == client.deviceType) { SelectedIndex = i; break; } } this.InitializeComponent(); }
public ClientDialog(Model.Client.ClientInfo clientInfo) { this.client = clientInfo; dialogBrush = new ClientDialogBrush(); qos_enable = client.isQosLimit; qos_down = client.qos_down / 1024; qos_up = client.qos_up / 1024; typeModels = TypeModel.GetAllModel(); for (int i = 0; i < typeModels.Count; i++) { if (typeModels[i].type == client.deviceType) { SelectedIndex = i; break; } } this.InitializeComponent(); }
public UpdateLogDialog() { this.InitializeComponent(); dialogBrush = new ClientDialogBrush(); }