public frmMain(User user) { InitializeComponent(); FullMode.Fullscreen(this); this.ControlBox = false; Text = "Welcome - " + user.Name; }
public reportViewer(List <customerListReports> reportCustomerAllReports) { InitializeComponent(); FullMode.Fullscreen(this); customerAllReportsDoc.SetDataSource(reportCustomerAllReports); crystalReportViewer1.ReportSource = customerAllReportsDoc; }
public NonblockRenderer(IRenderer <T> renderer, int queueSize, FullMode fullMode) : this( renderer, queueSize, fullMode switch { FullMode.DropOldest => BoundedChannelFullMode.DropOldest, _ => BoundedChannelFullMode.DropNewest, }
public frmLocations() { Database.Open(); InitializeComponent(); FullMode.Fullscreen(this); init(cmbpro, cmbdis, cmbcom); refresh(); }
public Login() { InitializeComponent(); this.ControlBox = false; FullMode.Fullscreen(this); //Connection.Open(Properties.Settings.Default.Hostname, "PSMS2"); OpenCon(); txtUsername.Text = "admin"; txtPassword.Text = "123"; }
/// <summary> /// Serializes the specified struct to bin array /// </summary> /// <param name="xstruct"> the struct containing the data /// </param> /// <returns></returns> public static unsafe byte[] Serialize(FullMode xstruct) { var buffer = new byte[164]; fixed(void *d = &buffer[0]) { void *s = &xstruct; CopyMemory(d, s, buffer.Length); } return(buffer); }
/// <summary> /// Creates a new instance of <see cref="NonblockActionRenderer{T}"/> decorating the given /// <paramref name="renderer"/> instance. /// </summary> /// <param name="renderer">The renderer to decorate which has the <em>actual</em> /// implementations and receives events in a background thread.</param> /// <param name="queueSize">The size of the internal event queue.</param> /// <param name="fullMode">Specifies the behavior when the internal event queue is full so /// that no more event can be added.</param> public NonblockActionRenderer(IActionRenderer <T> renderer, int queueSize, FullMode fullMode) : base(renderer, queueSize, fullMode) { ActionRenderer = renderer; }
public frmLogin() { InitializeComponent(); FullMode.Fullscreen(this); Connection.Open(Properties.Settings.Default.Hostname, "PSMS2"); }